/linux/security/tomoyo/ |
A D | network.c | 15 bool is_ipv6; member 60 ptr->is_ipv6 = false; in tomoyo_parse_ipaddr_union() 69 ptr->is_ipv6 = true; in tomoyo_parse_ipaddr_union() 127 if (ptr->is_ipv6) in tomoyo_print_ip() 385 if (r->param.inet_network.is_ipv6) in tomoyo_audit_inet_log() 424 const u8 size = r->param.inet_network.is_ipv6 ? 16 : 4; in tomoyo_check_inet_acl() 432 (r->param.inet_network.is_ipv6, in tomoyo_check_inet_acl() 434 return acl->address.is_ipv6 == r->param.inet_network.is_ipv6 && in tomoyo_check_inet_acl() 479 r.param.inet_network.is_ipv6 = address->inet.is_ipv6; in tomoyo_inet_entry() 514 i->is_ipv6 = true; in tomoyo_check_inet_address() [all …]
|
A D | group.c | 189 bool tomoyo_address_matches_group(const bool is_ipv6, const __be32 *address, in tomoyo_address_matches_group() argument 194 const u8 size = is_ipv6 ? 16 : 4; in tomoyo_address_matches_group() 200 if (member->address.is_ipv6 != is_ipv6) in tomoyo_address_matches_group()
|
A D | common.h | 474 bool is_ipv6; member 537 bool is_ipv6; /* Valid only if @group == NULL. */ member 927 bool tomoyo_address_matches_group(const bool is_ipv6, const __be32 *address, 1267 a->is_ipv6 == b->is_ipv6; in tomoyo_same_ipaddr_union()
|
/linux/drivers/net/ethernet/aquantia/atlantic/ |
A D | aq_filters.c | 103 rx_fltrs->fl3l4.is_ipv6 = false; in aq_check_approve_fl3l4() 108 rx_fltrs->fl3l4.is_ipv6 = true; in aq_check_approve_fl3l4() 112 } else if (rx_fltrs->fl3l4.is_ipv6 && in aq_check_approve_fl3l4() 212 rx_fltrs->fl3l4.is_ipv6 = false; in aq_check_filter() 220 rx_fltrs->fl3l4.is_ipv6 = true; in aq_check_filter() 478 data->is_ipv6 = rx_fltrs->fl3l4.is_ipv6; in aq_set_data_fl3l4() 482 if (!data->is_ipv6) in aq_set_data_fl3l4() 512 if (!data->is_ipv6) { in aq_set_data_fl3l4() 532 if (!data->is_ipv6) { in aq_set_data_fl3l4() 544 if (data->ip_src[0] && !data->is_ipv6) in aq_set_data_fl3l4() [all …]
|
A D | aq_ring.h | 61 u8 is_ipv6:1; member
|
A D | aq_nic.h | 112 u8 is_ipv6; member
|
/linux/tools/testing/selftests/bpf/progs/ |
A D | test_xdp_noinline.c | 219 if (is_ipv6) { in calc_offset() 233 bool is_ipv6, struct packet_description *pckt) in parse_udp() argument 237 __u64 off = calc_offset(is_ipv6, is_icmp); in parse_udp() 259 __u64 off = calc_offset(is_ipv6, is_icmp); in parse_tcp() 551 bool is_ipv6, void *lru_map) in get_packet_dst() argument 554 bool hash_16bytes = is_ipv6; in get_packet_dst() 692 bool is_ipv6, struct xdp_md *xdp) in process_packet() argument 712 if (is_ipv6) in process_packet() 722 if (!parse_tcp(data, data_end, is_ipv6, &pckt)) in process_packet() 725 if (!parse_udp(data, data_end, is_ipv6, &pckt)) in process_packet() [all …]
|
A D | test_l4lb_noinline.c | 213 bool is_ipv6) in get_packet_dst() argument 215 __u32 hash = get_packet_hash(pckt, is_ipv6); in get_packet_dst() 322 bool is_ipv6, struct __sk_buff *skb) in process_packet() argument 346 if (is_ipv6) { in process_packet() 403 if (is_ipv6) in process_packet() 422 if (!get_packet_dst(&dst, &pckt, vip_info, is_ipv6)) in process_packet()
|
A D | test_l4lb.c | 218 bool is_ipv6) in get_packet_dst() argument 220 __u32 hash = get_packet_hash(pckt, is_ipv6) % RING_SIZE; in get_packet_dst() 323 bool is_ipv6, struct __sk_buff *skb) in process_packet() argument 347 if (is_ipv6) { in process_packet() 404 if (is_ipv6) in process_packet() 423 if (!get_packet_dst(&dst, &pckt, vip_info, is_ipv6)) in process_packet()
|
/linux/net/ipv4/ |
A D | udp_offload.c | 18 __be16 new_protocol, bool is_ipv6) in __skb_udp_tunnel_segment() argument 67 (is_ipv6 ? (NETIF_F_HW_CSUM | NETIF_F_IPV6_CSUM) : in __skb_udp_tunnel_segment() 153 bool is_ipv6) in skb_udp_tunnel_segment() argument 170 offloads = is_ipv6 ? inet6_offloads : inet_offloads; in skb_udp_tunnel_segment() 181 protocol, is_ipv6); in skb_udp_tunnel_segment() 250 bool is_ipv6) in __udp_gso_segment_list() argument 260 return is_ipv6 ? skb : __udpv4_gso_segment_list_csum(skb); in __udp_gso_segment_list() 264 netdev_features_t features, bool is_ipv6) in __udp_gso_segment() argument 276 return __udp_gso_segment_list(gso_skb, features, is_ipv6); in __udp_gso_segment() 602 NAPI_GRO_CB(skb)->is_ipv6 = 0; in udp4_gro_receive()
|
A D | fou.c | 250 offloads = NAPI_GRO_CB(skb)->is_ipv6 ? inet6_offloads : inet_offloads; in fou_gro_receive() 272 offloads = NAPI_GRO_CB(skb)->is_ipv6 ? inet6_offloads : inet_offloads; in fou_gro_complete() 442 offloads = NAPI_GRO_CB(skb)->is_ipv6 ? inet6_offloads : inet_offloads; in gue_gro_receive() 489 offloads = NAPI_GRO_CB(skb)->is_ipv6 ? inet6_offloads : inet_offloads; in gue_gro_complete()
|
/linux/drivers/net/ethernet/chelsio/cxgb4/ |
A D | cxgb4_tc_u32.c | 159 bool is_ipv6 = false; in cxgb4_config_knode() local 207 is_ipv6 = true; in cxgb4_config_knode() 210 is_ipv6 = false; in cxgb4_config_knode() 241 next = is_ipv6 ? cxgb4_ipv6_jumps : cxgb4_ipv4_jumps; in cxgb4_config_knode() 334 fs.type = is_ipv6 ? 1 : 0; in cxgb4_config_knode()
|
/linux/tools/testing/selftests/net/forwarding/ |
A D | mirror_lib.sh | 23 is_ipv6() function 39 if is_ipv6 $dip; then
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/accel/ |
A D | ipsec.c | 116 if (!xfrm->attrs.is_ipv6) { in mlx5_accel_esp_create_hw_context() 125 xfrm->attrs.is_ipv6, sa_handle); in mlx5_accel_esp_create_hw_context()
|
A D | ipsec.h | 64 const __be32 spi, bool is_ipv6, u32 *sa_handle);
|
A D | ipsec_offload.c | 209 const __be32 spi, bool is_ipv6, u32 *hw_handle) in mlx5_ipsec_offload_create_sa_ctx() argument
|
/linux/tools/testing/selftests/net/ |
A D | udpgro_fwd.sh | 82 is_ipv6() { function 103 if is_ipv6 $dst; then 163 is_ipv6 $dst && family=-6
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/fpga/ |
A D | ipsec.c | 529 const __be32 spi, bool is_ipv6, in mlx5_fpga_ipsec_build_hw_sa() argument 542 if (is_ipv6) in mlx5_fpga_ipsec_build_hw_sa() 671 const __be32 spi, bool is_ipv6, u32 *sa_handle) in mlx5_fpga_ipsec_create_sa_ctx() argument 691 saddr, daddr, spi, is_ipv6, in mlx5_fpga_ipsec_create_sa_ctx() 776 bool is_ipv6 = false; in mlx5_fpga_ipsec_fs_create_sa_ctx() local 822 is_ipv6 = true; in mlx5_fpga_ipsec_fs_create_sa_ctx() 833 spi, is_ipv6, NULL); in mlx5_fpga_ipsec_fs_create_sa_ctx()
|
/linux/include/linux/mlx5/ |
A D | accel.h | 106 u8 is_ipv6; member
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/en_accel/ |
A D | ipsec_fs.c | 409 u8 ip_version = attrs->is_ipv6 ? 6 : 4; in setup_fte_common() 477 type = attrs->is_ipv6 ? ACCEL_FS_ESP6 : ACCEL_FS_ESP4; in rx_add_rule() 596 rx_ft_put(priv, attrs->is_ipv6 ? ACCEL_FS_ESP6 : ACCEL_FS_ESP4); in rx_del_rule()
|
/linux/include/net/ |
A D | udp.h | 184 netdev_features_t features, bool is_ipv6); 308 bool is_ipv6);
|
/linux/drivers/net/ethernet/aquantia/atlantic/hw_atl/ |
A D | hw_atl_a0.c | 474 if (buff->is_ipv6) in hw_atl_a0_hw_ring_tx_xmit() 895 if (!data->is_ipv6) { in hw_atl_a0_hw_fl3l4_clear() 924 if (!data->is_ipv6) { in hw_atl_a0_hw_fl3l4_set()
|
A D | hw_atl_b0.c | 696 if (buff->is_ipv6) in hw_atl_b0_hw_ring_tx_xmit() 1446 if (!data->is_ipv6) { in hw_atl_b0_hw_fl3l4_clear() 1476 if (!data->is_ipv6) { in hw_atl_b0_hw_fl3l4_set()
|
/linux/net/ipv6/ |
A D | udp_offload.c | 146 NAPI_GRO_CB(skb)->is_ipv6 = 1; in udp6_gro_receive()
|
/linux/tools/testing/selftests/bpf/prog_tests/ |
A D | sk_lookup.c | 83 static bool is_ipv6(const char *ip) in is_ipv6() function 118 family = is_ipv6(ip) ? AF_INET6 : AF_INET; in make_socket() 265 if (is_ipv6(local_ip)) { in fill_sk_lookup_ctx()
|