Home
last modified time | relevance | path

Searched defs:ipv4 (Results 1 – 25 of 90) sorted by relevance

1234

/linux/tools/testing/selftests/drivers/net/hw/
H A Dcsum.py12 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 Dtest_sk_assign.c55 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 Dtest_sk_lookup_kern.c23 bool *ipv4) in get_tuple()
64 bool ipv4; in sk_lookup_success() local
H A Dtest_cls_redirect.c201 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 Dtest_cls_redirect_dynptr.c516 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 Dtest_tcp_custom_syncookie.c61 struct iphdr *ipv4; member
/linux/tools/testing/selftests/landlock/
H A Dnet_test.c830 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 Dct_fs_smfs.c47 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 Di40e_txrx.c165 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 Dcifs_swn.c439 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 Dlwt_bpf.c186 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 Dtrace_cm.h15 #define __print_ip_addr(addr, port, ipv4) print_ip_addr(p, addr, port, ipv4) argument
H A Dtrace.c6 const char *print_ip_addr(struct trace_seq *p, u32 *addr, u16 port, bool ipv4) in print_ip_addr()
H A Dpuda.h39 bool ipv4:1; member
51 bool ipv4:1; member
72 bool ipv4:1; member
/linux/tools/testing/selftests/net/netfilter/
H A Dconntrack_tcp_unreplied.sh28 ipv4() { function
/linux/tools/usb/usbip/src/
H A Dusbipd.c491 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 Dudp.h532 #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 Dlpm_trie_map_batch_ops.c19 struct in_addr ipv4; member
/linux/drivers/infiniband/hw/ocrdma/
H A Docrdma_ah.c83 struct iphdr ipv4; in set_av_attr() local
/linux/drivers/net/ethernet/netronome/nfp/flower/
H A Dtunnel_conf.c52 __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 Dtc_conntrack.c286 u8 ipv4:1; member
/linux/include/net/netfilter/
H A Dnf_tables_offload.h47 struct flow_dissector_key_ipv4_addrs ipv4; member
/linux/drivers/scsi/fnic/
H A Dcq_enet_desc.h88 u8 *ipv6, u8 *ipv4, u8 *ipv4_fragment, u8 *fcs_ok) in cq_enet_rq_desc_dec()
/linux/drivers/net/ethernet/intel/ice/
H A Dice_txrx_lib.c98 bool ipv4, ipv6; in ice_rx_csum() local
/linux/drivers/net/ethernet/wangxun/txgbe/
H A Dtxgbe_fdir.c233 struct iphdr *ipv4; in txgbe_atr() member

1234