| /OK3568_Linux_fs/kernel/drivers/net/ethernet/mellanox/mlx5/core/en_accel/ |
| H A D | en_accel.h | 58 __be16 l3_proto; in mlx5e_tx_tunnel_accel() local 61 l3_proto = vlan_get_protocol(skb); in mlx5e_tx_tunnel_accel() 62 switch (l3_proto) { in mlx5e_tx_tunnel_accel() 76 swp_spec.l3_proto = l3_proto; in mlx5e_tx_tunnel_accel()
|
| H A D | ipsec_rxtx.c | 150 swp_spec.l3_proto = skb->protocol; in mlx5e_ipsec_set_swp() 277 u8 l3_proto; in mlx5e_ipsec_tx_build_eseg() local 294 l3_proto = (x->props.family == AF_INET) ? in mlx5e_ipsec_tx_build_eseg() 303 eseg->trailer |= (l3_proto == IPPROTO_ESP) ? in mlx5e_ipsec_tx_build_eseg() 307 eseg->trailer |= (l3_proto == IPPROTO_ESP) ? in mlx5e_ipsec_tx_build_eseg()
|
| /OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/libc/usr/include/linux/ |
| H A D | atmsap.h | 114 unsigned char l3_proto; /* layer 3 protocol */ member 160 return blli.l2_proto || blli.l3_proto; in blli_in_use()
|
| H A D | isdn.h | 118 int l3_proto; /* Layer-3 protocol */ member
|
| /OK3568_Linux_fs/kernel/include/uapi/linux/ |
| H A D | atmsap.h | 114 unsigned char l3_proto; /* layer 3 protocol */ member 160 return blli.l2_proto || blli.l3_proto; in blli_in_use()
|
| /OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/libc/usr/include/linux/ |
| H A D | atmsap.h | 114 unsigned char l3_proto; /* layer 3 protocol */ member 160 return blli.l2_proto || blli.l3_proto; in blli_in_use()
|
| H A D | isdn.h | 118 int l3_proto; /* Layer-3 protocol */ member
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/intel/ice/ |
| H A D | ice_arfs.c | 359 ice_arfs_is_perfect_flow_set(struct ice_hw *hw, __be16 l3_proto, u8 l4_proto) in ice_arfs_is_perfect_flow_set() argument 367 if (l3_proto == htons(ETH_P_IP) && l4_proto == IPPROTO_UDP) in ice_arfs_is_perfect_flow_set() 369 else if (l3_proto == htons(ETH_P_IP) && l4_proto == IPPROTO_TCP) in ice_arfs_is_perfect_flow_set() 371 else if (l3_proto == htons(ETH_P_IPV6) && l4_proto == IPPROTO_UDP) in ice_arfs_is_perfect_flow_set() 373 else if (l3_proto == htons(ETH_P_IPV6) && l4_proto == IPPROTO_TCP) in ice_arfs_is_perfect_flow_set()
|
| H A D | ice_ethtool_fdir.c | 636 enum ice_flow_seg_hdr l3_proto, in ice_set_init_fdir_seg() argument 644 if (l3_proto == ICE_FLOW_SEG_HDR_IPV4) { in ice_set_init_fdir_seg() 647 } else if (l3_proto == ICE_FLOW_SEG_HDR_IPV6) { in ice_set_init_fdir_seg() 664 ICE_FLOW_SET_HDRS(seg, l3_proto | l4_proto); in ice_set_init_fdir_seg()
|
| /OK3568_Linux_fs/kernel/tools/testing/selftests/bpf/progs/ |
| H A D | test_xdp_vlan.c | 46 __u16 l3_proto; member 95 pkt->l3_proto = bpf_ntohs(eth_type); /* Convert to host-byte-order */ in parse_eth_frame()
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/amazon/ena/ |
| H A D | ena_eth_com.h | 20 enum ena_eth_io_l3_proto_index l3_proto; member 39 enum ena_eth_io_l3_proto_index l3_proto; member
|
| H A D | ena_eth_com.c | 341 ena_rx_ctx->l3_proto = cdesc->status & in ena_com_rx_set_flags() 361 ena_rx_ctx->l3_proto, ena_rx_ctx->l4_proto, in ena_com_rx_set_flags() 454 desc->meta_ctrl |= ena_tx_ctx->l3_proto & in ena_com_prepare_tx()
|
| H A D | ena_netdev.c | 1451 if (unlikely((ena_rx_ctx->l3_proto == ENA_ETH_IO_L3_PROTO_IPV4) && in ena_rx_checksum() 1596 rx_ring->qid, ena_rx_ctx.descs, ena_rx_ctx.l3_proto, in ena_clean_rx_irq() 2782 ena_tx_ctx->l3_proto = ENA_ETH_IO_L3_PROTO_IPV4; in ena_tx_csum() 2790 ena_tx_ctx->l3_proto = ENA_ETH_IO_L3_PROTO_IPV6; in ena_tx_csum()
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/mellanox/mlx5/core/en/ |
| H A D | txrx.h | 362 __be16 l3_proto; member 384 if (swp_spec->l3_proto == htons(ETH_P_IPV6)) in mlx5e_set_eseg_swp() 398 if (swp_spec->l3_proto == htons(ETH_P_IPV6)) in mlx5e_set_eseg_swp()
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/marvell/octeontx2/nic/ |
| H A D | otx2_txrx.c | 533 __be16 l3_proto = vlan_get_protocol(skb); in otx2_sqe_add_ext() local 545 if (l3_proto == htons(ETH_P_IP)) { in otx2_sqe_add_ext()
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/qlogic/qede/ |
| H A D | qede_fp.c | 178 __be16 l3_proto; in qede_xmit_type() local 183 l3_proto = vlan_get_protocol(skb); in qede_xmit_type() 184 if (l3_proto == htons(ETH_P_IPV6) && in qede_xmit_type()
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/marvell/ |
| H A D | mvneta.c | 1744 static u32 mvneta_txq_desc_csum(int l3_offs, int l3_proto, in mvneta_txq_desc_csum() argument 1756 if (l3_proto == htons(ETH_P_IP)) in mvneta_txq_desc_csum() 1914 __be16 l3_proto = vlan_get_protocol(skb); in mvneta_skb_tx_csum() local 1917 if (l3_proto == htons(ETH_P_IP)) { in mvneta_skb_tx_csum() 1923 } else if (l3_proto == htons(ETH_P_IPV6)) { in mvneta_skb_tx_csum() 1934 l3_proto, ip_hdr_len, l4_proto); in mvneta_skb_tx_csum()
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/marvell/mvpp2/ |
| H A D | mvpp2_main.c | 2227 static u32 mvpp2_txq_desc_csum(int l3_offs, __be16 l3_proto, in mvpp2_txq_desc_csum() argument 2239 if (l3_proto == htons(ETH_P_IP)) { in mvpp2_txq_desc_csum() 3229 __be16 l3_proto = vlan_get_protocol(skb); in mvpp2_skb_tx_csum() local 3231 if (l3_proto == htons(ETH_P_IP)) { in mvpp2_skb_tx_csum() 3237 } else if (l3_proto == htons(ETH_P_IPV6)) { in mvpp2_skb_tx_csum() 3249 l3_proto, ip_hdr_len, l4_proto); in mvpp2_skb_tx_csum()
|
| /OK3568_Linux_fs/kernel/drivers/staging/qlge/ |
| H A D | qlge_main.c | 2468 __be16 l3_proto = vlan_get_protocol(skb); in ql_tso() local 2485 if (likely(l3_proto == htons(ETH_P_IP))) { in ql_tso() 2494 } else if (l3_proto == htons(ETH_P_IPV6)) { in ql_tso()
|