/kernel/linux/linux-5.10/security/tomoyo/ |
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 …]
|
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()
|
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()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/aquantia/atlantic/ |
D | aq_filters.c | 102 if (rx_fltrs->fl3l4.is_ipv6 && rx_fltrs->fl3l4.active_ipv4) { in aq_check_approve_fl3l4() 103 rx_fltrs->fl3l4.is_ipv6 = false; in aq_check_approve_fl3l4() 107 } else if (!rx_fltrs->fl3l4.is_ipv6 && rx_fltrs->fl3l4.active_ipv6) { 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() [all …]
|
D | aq_ring.h | 61 u8 is_ipv6:1; member
|
D | aq_nic.h | 110 u8 is_ipv6; member
|
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/progs/ |
D | test_xdp_noinline.c | 216 static __noinline __u64 calc_offset(bool is_ipv6, bool is_icmp) in calc_offset() argument 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() 255 bool is_ipv6, struct packet_description *pckt) in parse_tcp() argument 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() [all …]
|
D | test_l4lb.c | 220 bool is_ipv6) in get_packet_dst() argument 222 __u32 hash = get_packet_hash(pckt, is_ipv6) % RING_SIZE; in get_packet_dst() 325 bool is_ipv6, struct __sk_buff *skb) in process_packet() argument 349 if (is_ipv6) { in process_packet() 406 if (is_ipv6) in process_packet() 425 if (!get_packet_dst(&dst, &pckt, vip_info, is_ipv6)) in process_packet()
|
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()
|
/kernel/linux/linux-5.10/net/ipv4/ |
D | udp_offload.c | 18 __be16 new_protocol, bool is_ipv6) in __skb_udp_tunnel_segment() argument 66 (is_ipv6 ? (NETIF_F_HW_CSUM | NETIF_F_IPV6_CSUM) : in __skb_udp_tunnel_segment() 150 bool is_ipv6) in skb_udp_tunnel_segment() argument 167 offloads = is_ipv6 ? inet6_offloads : inet_offloads; in skb_udp_tunnel_segment() 178 protocol, is_ipv6); in skb_udp_tunnel_segment() 247 bool is_ipv6) in __udp_gso_segment_list() argument 257 return is_ipv6 ? skb : __udpv4_gso_segment_list_csum(skb); in __udp_gso_segment_list() 261 netdev_features_t features, bool is_ipv6) in __udp_gso_segment() argument 273 return __udp_gso_segment_list(gso_skb, features, is_ipv6); in __udp_gso_segment() 593 NAPI_GRO_CB(skb)->is_ipv6 = 0; in udp4_gro_receive()
|
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()
|
/kernel/liteos_a/net/lwip-2.1/porting/src/ |
D | sockets.c | 1390 bool is_ipv6 = 0; local 1393 is_ipv6 = NETCONNTYPE_ISIPV6((unsigned int)(sock->conn->type)); 1403 if (is_ipv6 == 0) { 1411 if (is_ipv6 == 0) { 1421 if (is_ipv6 == 0) { 1429 if (is_ipv6 == 0) { 1440 if (is_ipv6 != 0) { 1454 if (is_ipv6 != 0) { 1465 if (is_ipv6 != 0) { 1472 if (is_ipv6 != 0) { [all …]
|
/kernel/linux/linux-5.10/tools/testing/selftests/net/forwarding/ |
D | mirror_lib.sh | 23 is_ipv6() function 39 if is_ipv6 $dip; then
|
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/cxgb4/ |
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()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/accel/ |
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()
|
D | ipsec.h | 64 const __be32 spi, bool is_ipv6, u32 *sa_handle);
|
D | ipsec_offload.c | 209 const __be32 spi, bool is_ipv6, u32 *hw_handle) in mlx5_ipsec_offload_create_sa_ctx() argument
|
/kernel/liteos_m/components/net/lwip-2.1/porting/src/ |
D | sockets_porting.c | 712 u8_t is_ipv6 = 0; in lwip_ioctl_impl() local 715 is_ipv6 = NETCONNTYPE_ISIPV6((unsigned int)(sock->conn->type)); in lwip_ioctl_impl() 719 if (is_ipv6 != 0) { in lwip_ioctl_impl() 726 if (is_ipv6 != 0) { in lwip_ioctl_impl() 733 if (is_ipv6 != 0) { in lwip_ioctl_impl() 761 if (is_ipv6 != 0) { in lwip_ioctl_impl()
|
/kernel/linux/linux-5.10/include/linux/mlx5/ |
D | accel.h | 106 u8 is_ipv6; member
|
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/fpga/ |
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()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/en_accel/ |
D | ipsec_fs.c | 408 u8 ip_version = attrs->is_ipv6 ? 6 : 4; in setup_fte_common() 476 type = attrs->is_ipv6 ? ACCEL_FS_ESP6 : ACCEL_FS_ESP4; in rx_add_rule() 595 rx_ft_put(priv, attrs->is_ipv6 ? ACCEL_FS_ESP6 : ACCEL_FS_ESP4); in rx_del_rule()
|
/kernel/linux/linux-5.10/include/net/ |
D | udp.h | 182 netdev_features_t features, bool is_ipv6); 306 bool is_ipv6);
|
/kernel/linux/linux-5.10/net/ipv6/ |
D | udp_offload.c | 146 NAPI_GRO_CB(skb)->is_ipv6 = 1; in udp6_gro_receive()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/aquantia/atlantic/hw_atl/ |
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()
|
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/prog_tests/ |
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()
|