Searched refs:ETH_P_IPV6 (Results 76 - 100 of 355) sorted by relevance

1234567891011>>

/linux-master/net/xfrm/
H A Dxfrm_output.c275 bool small_ipv6 = (skb->protocol == htons(ETH_P_IPV6)) && (skb->len <= IPV6_MIN_MTU);
437 skb->protocol = htons(ETH_P_IPV6);
694 case ETH_P_IPV6:
847 skb->protocol = htons(ETH_P_IPV6);
886 case htons(ETH_P_IPV6):
900 else if (skb->protocol == htons(ETH_P_IPV6) &&
/linux-master/drivers/net/ethernet/qlogic/qede/
H A Dqede_filter.c446 skb->protocol != htons(ETH_P_IPV6))
1461 if (a->eth_proto != htons(ETH_P_IPV6) ||
1462 b->eth_proto != htons(ETH_P_IPV6))
1784 tuple->eth_proto = htons(ETH_P_IPV6);
1804 tuple->eth_proto = htons(ETH_P_IPV6);
1841 proto != htons(ETH_P_IPV6)) {
1855 else if (ip_proto == IPPROTO_TCP && proto == htons(ETH_P_IPV6))
1859 else if (ip_proto == IPPROTO_UDP && proto == htons(ETH_P_IPV6))
1991 proto = htons(ETH_P_IPV6);
/linux-master/net/ipv6/
H A Ddatagram.c319 skb->protocol = htons(ETH_P_IPV6);
358 skb->protocol = htons(ETH_P_IPV6);
491 if (skb->protocol == htons(ETH_P_IPV6)) {
516 if (skb->protocol == htons(ETH_P_IPV6)) {
599 bool is_ipv6 = skb->protocol == htons(ETH_P_IPV6);
H A Dip6_offload.c358 skb_set_inner_protocol(skb, cpu_to_be16(ETH_P_IPV6));
483 .type = cpu_to_be16(ETH_P_IPV6),
/linux-master/drivers/staging/gdm724x/
H A Dgdm_lte.c240 if (ntohs(vlan_eth.h_vlan_encapsulated_proto) != ETH_P_IPV6)
246 if (ntohs(eth.h_proto) != ETH_P_IPV6)
378 case ETH_P_IPV6:
650 eth.h_proto = htons(ETH_P_IPV6);
651 vlan_eth.h_vlan_encapsulated_proto = htons(ETH_P_IPV6);
/linux-master/drivers/net/ethernet/qualcomm/rmnet/
H A Drmnet_map_data.c267 skb->protocol == htons(ETH_P_IPV6)) {
423 if (IS_ENABLED(CONFIG_IPV6) && skb->protocol == htons(ETH_P_IPV6))
457 if (IS_ENABLED(CONFIG_IPV6) && skb->protocol == htons(ETH_P_IPV6)) {
H A Drmnet_handlers.c29 skb->protocol = htons(ETH_P_IPV6);
/linux-master/drivers/infiniband/sw/rxe/
H A Drxe_net.c337 else if (skb->protocol == htons(ETH_P_IPV6))
371 } else if (skb->protocol == htons(ETH_P_IPV6)) {
502 skb->protocol = htons(ETH_P_IPV6);
/linux-master/net/core/
H A Dlwt_bpf.c99 } else if (skb->protocol == htons(ETH_P_IPV6)) {
185 else if (skb->protocol == htons(ETH_P_IPV6))
643 skb->protocol = htons(ETH_P_IPV6);
/linux-master/drivers/net/ethernet/intel/ice/
H A Dice_arfs.c329 } else { /* ETH_P_IPV6 */
352 * @l3_proto: ETH_P_IP or ETH_P_IPV6 in network order
372 else if (l3_proto == htons(ETH_P_IPV6) && l4_proto == IPPROTO_UDP)
374 else if (l3_proto == htons(ETH_P_IPV6) && l4_proto == IPPROTO_TCP)
425 n_proto == htons(ETH_P_IPV6))
/linux-master/net/bridge/
H A Dbr_netfilter_hooks.c74 (!skb_vlan_tag_present(skb) && skb->protocol == htons(ETH_P_IPV6))
101 return vlan_proto(skb) == htons(ETH_P_IPV6) &&
662 if (skb->protocol == htons(ETH_P_IPV6))
726 skb->protocol = htons(ETH_P_IPV6);
902 skb->protocol == htons(ETH_P_IPV6)) {
969 skb->protocol = htons(ETH_P_IPV6);
/linux-master/drivers/net/xen-netback/
H A Dhash.c171 case htons(ETH_P_IPV6):
214 case htons(ETH_P_IPV6):
/linux-master/drivers/net/wireguard/
H A Dallowedips.c361 else if (skb->protocol == htons(ETH_P_IPV6))
372 else if (skb->protocol == htons(ETH_P_IPV6))
H A Ddevice.c159 else if (skb->protocol == htons(ETH_P_IPV6))
228 else if (skb->protocol == htons(ETH_P_IPV6))
H A Dratelimiter.c101 else if (skb->protocol == htons(ETH_P_IPV6)) {
/linux-master/net/ipv6/netfilter/
H A Dnf_reject_ipv6.c215 nskb->protocol = htons(ETH_P_IPV6);
367 nskb->protocol = htons(ETH_P_IPV6);
/linux-master/net/bridge/netfilter/
H A Dnf_conntrack_bridge.c269 case htons(ETH_P_IPV6):
353 case htons(ETH_P_IPV6):
H A Debt_log.c115 htons(ETH_P_IPV6)) {
H A Dnft_reject_bridge.c143 case htons(ETH_P_IPV6):
/linux-master/net/sched/
H A Dem_ipt.c222 case htons(ETH_P_IPV6):
/linux-master/net/ieee802154/6lowpan/
H A Drx.c23 skb->protocol = htons(ETH_P_IPV6);
/linux-master/drivers/net/wireguard/selftest/
H A Dratelimiter.c162 skb6->protocol = htons(ETH_P_IPV6);
/linux-master/net/openvswitch/
H A Dflow.h171 return key->eth.type == htons(ETH_P_IPV6) &&
/linux-master/tools/testing/selftests/bpf/prog_tests/
H A Dxdp_do_redirect.c24 .eth.h_proto = __bpf_constant_htons(ETH_P_IPV6),
/linux-master/tools/testing/selftests/bpf/progs/
H A Dxdp_features.c98 } else if (eh->h_proto == bpf_htons(ETH_P_IPV6)) {

Completed in 467 milliseconds

1234567891011>>