Searched refs:ETH_P_IP (Results 201 - 225 of 448) sorted by relevance

1234567891011>>

/linux-master/drivers/net/wan/
H A Dhdlc_ppp.c153 return htons(ETH_P_IP);
179 case ETH_P_IP:
/linux-master/drivers/staging/rtl8723bs/os_dep/
H A Dos_intfs.c333 case htons(ETH_P_IP):
369 case ETH_P_IP:
/linux-master/drivers/net/ethernet/freescale/dpaa2/
H A Ddpaa2-ethtool.c429 *(__be16 *)(key + off) = htons(ETH_P_IP);
475 *(__be16 *)(key + off) = htons(ETH_P_IP);
/linux-master/drivers/net/usb/
H A Dsierra_net.c208 return skb->protocol == cpu_to_be16(ETH_P_IP) ||
840 eth_hdr(skb)->h_proto = cpu_to_be16(ETH_P_IP);
/linux-master/drivers/net/ethernet/microchip/lan966x/
H A Dlan966x_vcap_impl.c135 if (l3_proto == ETH_P_ALL || l3_proto == ETH_P_IP) {
226 if (l3_proto == ETH_P_ALL || l3_proto == ETH_P_IP) {
H A Dlan966x_ptp.c160 LAN966X_VCAP_IPV4_EV_PTP_TRAP, ETH_P_IP);
165 LAN966X_VCAP_IPV4_GEN_PTP_TRAP, ETH_P_IP);
/linux-master/drivers/staging/rtl8712/
H A Drtl871x_xmit.c263 if (pattrib->ether_type == ETH_P_IP) {
273 if (pattrib->ether_type == ETH_P_IP) {/* IP header*/
/linux-master/drivers/net/ethernet/mscc/
H A Docelot_flower.c677 if (ntohs(match.key->n_proto) == ETH_P_IP) {
708 proto == ETH_P_IP) {
/linux-master/tools/testing/selftests/net/
H A Dcsum.c427 addr.sll_protocol = htons(ETH_P_IP);
534 laddr.sll_protocol = htons(ETH_P_IP);
/linux-master/drivers/net/ethernet/sfc/
H A Dtc_encap_actions.c352 efx_gen_tun_header_eth(encap, ETH_P_IP);
363 efx_gen_tun_header_eth(encap, ETH_P_IP);
H A Dptp.c1380 if (skb->protocol == htons(ETH_P_IP)) {
1404 if (skb->protocol == htons(ETH_P_IP)) {
1722 likely(skb->protocol == htons(ETH_P_IP)) &&
/linux-master/tools/testing/selftests/bpf/progs/
H A Dtest_tunnel_kern.c19 #define ETH_P_IP 0x0800 macro
435 if (eth->h_proto != bpf_htons(ETH_P_IP))
H A Dtest_cls_redirect.c413 uint16_t proto = ETH_P_IP;
947 if (skb->protocol != bpf_htons(ETH_P_IP)) {
H A Dtest_cls_redirect_dynptr.c304 uint16_t proto = ETH_P_IP;
857 if (skb->protocol != bpf_htons(ETH_P_IP))
H A Dxdp_synproxy_kern.c18 #define ETH_P_IP 0x0800 macro
383 case ETH_P_IP:
/linux-master/net/sched/
H A Dcls_flow.c156 case htons(ETH_P_IP):
169 case htons(ETH_P_IP):
/linux-master/net/xfrm/
H A Dxfrm_input.c184 skb->protocol = htons(ETH_P_IP);
238 skb->protocol = htons(ETH_P_IP);
/linux-master/drivers/staging/rtl8192e/
H A Drtllib_tx.c237 if (eth->h_proto != htons(ETH_P_IP))
585 if (ether_type == ETH_P_IP) {
/linux-master/drivers/net/ethernet/rocker/
H A Drocker_ofdpa.c471 case ETH_P_IP:
1266 __be16 eth_type = htons(ETH_P_IP);
1569 .eth_type = htons(ETH_P_IP),
2031 eth_type = htons(ETH_P_IP);
2273 __be16 eth_type = htons(ETH_P_IP);
/linux-master/net/ipv6/
H A Dip6_tunnel.c899 if (tpi->proto == htons(ETH_P_IP))
914 .proto = htons(ETH_P_IP),
1133 } else if (payload_protocol == htons(ETH_P_IP)) {
1244 if (payload_protocol == htons(ETH_P_IP))
1431 case htons(ETH_P_IP):
/linux-master/drivers/net/ethernet/wangxun/libwx/
H A Dwx_lib.c1122 case htons(ETH_P_IP):
1152 if (skb->inner_protocol == htons(ETH_P_IP) ||
1179 case htons(ETH_P_IP):
1275 case htons(ETH_P_IP):
1363 case htons(ETH_P_IP):
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_rx.c1178 if (proto == htons(ETH_P_IP)) {
1321 bool is_ipv4 = (rq->hw_gro_data->fk.basic.n_proto == htons(ETH_P_IP));
1368 if (*proto == htons(ETH_P_IP))
1388 rc = ((proto == htons(ETH_P_IP)) ? IP_ECN_set_ce((struct iphdr *)ip) :
1398 return (proto == htons(ETH_P_IP)) ? ((struct iphdr *)ip_p)->protocol :
1459 case htons(ETH_P_IP):
2351 rq->hw_gro_data->fk.basic.n_proto == htons(ETH_P_IP)) {
/linux-master/drivers/net/ethernet/marvell/octeontx2/nic/
H A Dotx2_flows.c586 pkt->etype = cpu_to_be16(ETH_P_IP);
593 pkt->etype = cpu_to_be16(ETH_P_IP);
648 pkt->etype = cpu_to_be16(ETH_P_IP);
H A Dotx2_txrx.c697 if (l3_proto == htons(ETH_P_IP)) {
780 if (skb->protocol == htons(ETH_P_IP)) {
1056 case ETH_P_IP:
/linux-master/drivers/net/phy/mscc/
H A Dmscc_ptp.c381 if (ethhdr->h_proto != htons(ETH_P_IP))
985 ETH_P_IP);
988 ETH_P_IP);

Completed in 397 milliseconds

1234567891011>>