Home
last modified time | relevance | path

Searched refs:ipver (Results 1 – 8 of 8) sorted by relevance

/linux-6.6.21/tools/testing/selftests/bpf/progs/
Dtest_seg6_loop.c58 uint8_t *ipver; in get_srh() local
62 ipver = (uint8_t *)cursor; in get_srh()
64 if ((void *)ipver + sizeof(*ipver) > data_end) in get_srh()
67 if ((*ipver >> 4) != 6) in get_srh()
Dtest_lwt_seg6local.c58 uint8_t *ipver; in get_srh() local
62 ipver = (uint8_t *)cursor; in get_srh()
64 if ((void *)ipver + sizeof(*ipver) > data_end) in get_srh()
67 if ((*ipver >> 4) != 6) in get_srh()
/linux-6.6.21/tools/testing/selftests/drivers/net/mlxsw/
Ddevlink_trap_l3_drops.sh355 local ipver=$1; shift
361 )"$ipver"$( : IP version
379 local ipver=$1; shift
393 payload=$(ipv4_payload_get $ipver $ihl $checksum)
408 local ipver=$1; shift
412 )"$ipver"$( : IP version
427 local ipver=$1; shift
439 payload=$(ipv6_payload_get $ipver)
/linux-6.6.21/tools/testing/selftests/drivers/net/netdevsim/
Dudp_tunnel_nic.sh52 local ipver=$4
57 [ "$ipver" != '6' ] && group=239.1.1.1 || group=fff1::1
58 [ "$ipver" != '6' ] || ipfl="-6"
78 local ipver=$3
83 [ "$ipver" != '6' ] && remote=1.1.1.2 || group=::2
84 [ "$ipver" != '6' ] || ipfl="-6"
/linux-6.6.21/include/net/sctp/
Dsctp.h469 static inline int ipver2af(__u8 ipver) in ipver2af() argument
471 switch (ipver) { in ipver2af()
/linux-6.6.21/drivers/net/ethernet/netronome/nfp/crypto/
Dtls.c153 nfp_net_tls_set_ipver_vlan(struct nfp_crypto_req_add_front *front, u8 ipver) in nfp_net_tls_set_ipver_vlan() argument
155 front->ipver_vlan = cpu_to_be16(FIELD_PREP(NFP_NET_TLS_IPVER, ipver) | in nfp_net_tls_set_ipver_vlan()
/linux-6.6.21/drivers/net/ethernet/aquantia/atlantic/
Daq_nic.c679 u8 ipver = ip_hdr(skb)->version; in aq_nic_map_skb() local
687 if (ipver == 4) in aq_nic_map_skb()
689 else if (ipver == 6) in aq_nic_map_skb()
715 dx_buff->is_ipv6 = (ipver == 6); in aq_nic_map_skb()
/linux-6.6.21/drivers/net/wireless/realtek/rtl8xxxu/
Drtl8xxxu.h289 u32 ipver:1; member