/linux/tools/testing/selftests/drivers/net/hw/ |
H A D | csum.py | 12 def test_receive(cfg, ipv4=False, extra_args=None): argument 30 def test_transmit(cfg, ipv4=False, extra_args=None): argument 54 def test_builder(name, cfg, ipv4=False, tx=False, extra_args=""): argument
|
/linux/tools/testing/selftests/bpf/progs/ |
H A D | test_sk_assign.c | 55 get_tuple(struct __sk_buff *skb, bool *ipv4, bool *tcp) in get_tuple() 102 handle_udp(struct __sk_buff *skb, struct bpf_sock_tuple *tuple, bool ipv4) in handle_udp() 133 handle_tcp(struct __sk_buff *skb, struct bpf_sock_tuple *tuple, bool ipv4) in handle_tcp() 175 bool ipv4 = false; in bpf_sk_assign_test() local
|
H A D | test_sk_lookup_kern.c | 23 bool *ipv4) in get_tuple() 64 bool ipv4; in sk_lookup_success() local
|
H A D | test_cls_redirect.c | 201 static INLINING bool pkt_skip_ipv4_options(buf_t *buf, const struct iphdr *ipv4) in pkt_skip_ipv4_options() 218 struct iphdr *ipv4 = buf_assign(pkt, sizeof(*ipv4), scratch); in pkt_parse_ipv4() local 626 struct iphdr *ipv4 = (struct iphdr *)iph; in fill_tuple() local 742 const struct iphdr *ipv4 = pkt_parse_ipv4(pkt, &_ip4); in process_icmpv4() local 862 struct iphdr *ipv4 = pkt_parse_ipv4(pkt, &_ip4); in process_ipv4() local
|
H A D | test_cls_redirect_dynptr.c | 516 struct iphdr *ipv4 = (struct iphdr *)iph; in fill_tuple() local 609 struct iphdr ipv4; in process_icmpv4() local 751 struct iphdr ipv4; in process_ipv4() local
|
H A D | test_tcp_custom_syncookie.c | 61 struct iphdr *ipv4; member
|
/linux/tools/testing/selftests/landlock/ |
H A D | net_test.c | 830 FIXTURE(ipv4) in FIXTURE() argument 835 FIXTURE_VARIANT(ipv4) in FIXTURE_VARIANT() argument 842 FIXTURE_VARIANT_ADD(ipv4, no_sandbox_with_tcp) { in FIXTURE_VARIANT_ADD() argument 849 FIXTURE_VARIANT_ADD(ipv4, tcp_sandbox_with_tcp) { in FIXTURE_VARIANT_ADD() argument 856 FIXTURE_VARIANT_ADD(ipv4, no_sandbox_with_udp) { in FIXTURE_VARIANT_ADD() argument 863 FIXTURE_VARIANT_ADD(ipv4, tcp_sandbox_with_udp) { in FIXTURE_VARIANT_ADD() argument 869 FIXTURE_SETUP(ipv4) in FIXTURE_SETUP() argument 884 FIXTURE_TEARDOWN(ipv4) in FIXTURE_TEARDOWN() argument 888 TEST_F(ipv4, from_unix_to_inet) in TEST_F() argument
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/en/tc/ |
H A D | ct_fs_smfs.c | 47 mlx5_ct_fs_smfs_fill_mask(struct mlx5_ct_fs *fs, struct mlx5_flow_spec *spec, bool ipv4, bool tcp, in mlx5_ct_fs_smfs_fill_mask() 90 mlx5_ct_fs_smfs_matcher_create(struct mlx5_ct_fs *fs, struct mlx5dr_table *tbl, bool ipv4, in mlx5_ct_fs_smfs_matcher_create() 112 mlx5_ct_fs_smfs_matcher_get(struct mlx5_ct_fs *fs, bool nat, bool ipv4, bool tcp, bool gre) in mlx5_ct_fs_smfs_matcher_get() 305 bool nat, tcp, ipv4, gre; in mlx5_ct_fs_smfs_ct_rule_add() local
|
/linux/drivers/net/ethernet/intel/i40e/ |
H A D | i40e_txrx.c | 165 static char *i40e_create_dummy_packet(u8 *dummy_packet, bool ipv4, u8 l4proto, in i40e_create_dummy_packet() 229 static void i40e_create_dummy_udp_packet(u8 *raw_packet, bool ipv4, u8 l4proto, in i40e_create_dummy_udp_packet() 250 static void i40e_create_dummy_tcp_packet(u8 *raw_packet, bool ipv4, u8 l4proto, in i40e_create_dummy_tcp_packet() 276 static void i40e_create_dummy_sctp_packet(u8 *raw_packet, bool ipv4, in i40e_create_dummy_sctp_packet() 354 static void i40e_change_filter_num(bool ipv4, bool add, u16 *ipv4_filter_num, in i40e_change_filter_num() 384 bool ipv4) in i40e_add_del_fdir_udp() 432 bool ipv4) in i40e_add_del_fdir_tcp() 486 bool ipv4) in i40e_add_del_fdir_sctp() 535 bool ipv4) in i40e_add_del_fdir_ip() 590 enum ip_ver { ipv6 = 0, ipv4 = 1 }; in i40e_add_del_fdir() enumerator [all …]
|
/linux/fs/smb/client/ |
H A D | cifs_swn.c | 439 struct sockaddr_in *ipv4 = (struct sockaddr_in *)old; in cifs_swn_store_swn_addr() local 449 struct sockaddr_in *ipv4 = (struct sockaddr_in *)new; in cifs_swn_store_swn_addr() local 511 struct sockaddr_in *ipv4 = (struct sockaddr_in *)addr; in cifs_swn_client_move() local
|
/linux/net/core/ |
H A D | lwt_bpf.c | 186 bool ipv4; in bpf_lwt_xmit_reroute() local 540 static int handle_gso_encap(struct sk_buff *skb, bool ipv4, int encap_len) in handle_gso_encap() 599 bool ipv4; in bpf_lwt_push_ip_encap() local
|
/linux/drivers/infiniband/hw/irdma/ |
H A D | trace_cm.h | 15 #define __print_ip_addr(addr, port, ipv4) print_ip_addr(p, addr, port, ipv4) argument
|
H A D | trace.c | 6 const char *print_ip_addr(struct trace_seq *p, u32 *addr, u16 port, bool ipv4) in print_ip_addr()
|
H A D | puda.h | 39 bool ipv4:1; member 51 bool ipv4:1; member 72 bool ipv4:1; member
|
/linux/tools/testing/selftests/net/netfilter/ |
H A D | conntrack_tcp_unreplied.sh | 28 ipv4() { function
|
/linux/tools/usb/usbip/src/ |
H A D | usbipd.c | 491 static int do_standalone_mode(int daemonize, int ipv4, int ipv6) in do_standalone_mode() 609 int ipv4 = 0, ipv6 = 0; in main() local
|
/linux/include/net/ |
H A D | udp.h | 532 #define __UDPX_MIB(sk, ipv4) \ argument 540 #define __UDPX_MIB(sk, ipv4) \ argument 585 struct sk_buff *skb, bool ipv4) in udp_rcv_segment()
|
/linux/tools/testing/selftests/bpf/map_tests/ |
H A D | lpm_trie_map_batch_ops.c | 19 struct in_addr ipv4; member
|
/linux/drivers/infiniband/hw/ocrdma/ |
H A D | ocrdma_ah.c | 83 struct iphdr ipv4; in set_av_attr() local
|
/linux/drivers/net/ethernet/netronome/nfp/flower/ |
H A D | tunnel_conf.c | 52 __be32 ipv4; member 871 void nfp_tunnel_add_ipv4_off(struct nfp_app *app, __be32 ipv4) in nfp_tunnel_add_ipv4_off() 901 void nfp_tunnel_del_ipv4_off(struct nfp_app *app, __be32 ipv4) in nfp_tunnel_del_ipv4_off()
|
/linux/drivers/net/ethernet/sfc/ |
H A D | tc_conntrack.c | 286 u8 ipv4:1; member
|
/linux/include/net/netfilter/ |
H A D | nf_tables_offload.h | 47 struct flow_dissector_key_ipv4_addrs ipv4; member
|
/linux/drivers/scsi/fnic/ |
H A D | cq_enet_desc.h | 88 u8 *ipv6, u8 *ipv4, u8 *ipv4_fragment, u8 *fcs_ok) in cq_enet_rq_desc_dec()
|
/linux/drivers/net/ethernet/intel/ice/ |
H A D | ice_txrx_lib.c | 98 bool ipv4, ipv6; in ice_rx_csum() local
|
/linux/drivers/net/ethernet/wangxun/txgbe/ |
H A D | txgbe_fdir.c | 233 struct iphdr *ipv4; in txgbe_atr() member
|