/Linux-v6.6/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, 1264 a->is_ipv6 == b->is_ipv6; in tomoyo_same_ipaddr_union()
|
/Linux-v6.6/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 | 66 u8 is_ipv6:1; member
|
D | aq_nic.h | 114 u8 is_ipv6; member
|
/Linux-v6.6/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() 511 bool is_ipv6, void *lru_map) in get_packet_dst() argument 514 bool hash_16bytes = is_ipv6; in get_packet_dst() 651 bool is_ipv6, struct xdp_md *xdp) in process_packet() argument 669 if (is_ipv6) in process_packet() [all …]
|
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()
|
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()
|
D | test_l4lb_noinline_dynptr.c | 215 bool is_ipv6) in get_packet_dst() argument 217 __u32 hash = get_packet_hash(pckt, is_ipv6); in get_packet_dst() 329 bool is_ipv6, struct __sk_buff *skb) in process_packet() argument 351 if (is_ipv6) { in process_packet() 410 if (is_ipv6) in process_packet() 429 if (!get_packet_dst(&dst, &pckt, vip_info, is_ipv6)) in process_packet()
|
/Linux-v6.6/drivers/net/ethernet/netronome/nfp/flower/ |
D | tunnel_conf.c | 317 if (flow_pay->pre_tun_rule.is_ipv6 != neigh->is_ipv6) in nfp_tun_mutual_link() 327 common = neigh->is_ipv6 ? in nfp_tun_mutual_link() 330 ext = neigh->is_ipv6 ? in nfp_tun_mutual_link() 374 neigh_size = nn_entry->is_ipv6 ? in nfp_tun_link_and_update_nn_entries() 377 type = nn_entry->is_ipv6 ? NFP_FLOWER_CMSG_TYPE_TUN_NEIGH_V6 : in nfp_tun_link_and_update_nn_entries() 401 ext = neigh->is_ipv6 ? in nfp_tun_cleanup_nn_entries() 408 neigh_size = neigh->is_ipv6 ? in nfp_tun_cleanup_nn_entries() 411 type = neigh->is_ipv6 ? NFP_FLOWER_CMSG_TYPE_TUN_NEIGH_V6 : in nfp_tun_cleanup_nn_entries() 435 ext = neigh->is_ipv6 ? in nfp_tun_unlink_and_update_nn_entries() 443 neigh_size = neigh->is_ipv6 ? in nfp_tun_unlink_and_update_nn_entries() [all …]
|
D | main.h | 189 bool is_ipv6; member 454 bool is_ipv6; member
|
/Linux-v6.6/net/ipv4/ |
D | udp_offload.c | 20 __be16 new_protocol, bool is_ipv6) in __skb_udp_tunnel_segment() argument 69 (is_ipv6 ? (NETIF_F_HW_CSUM | NETIF_F_IPV6_CSUM) : in __skb_udp_tunnel_segment() 155 bool is_ipv6) in skb_udp_tunnel_segment() argument 172 offloads = is_ipv6 ? inet6_offloads : inet_offloads; in skb_udp_tunnel_segment() 183 protocol, is_ipv6); in skb_udp_tunnel_segment() 252 bool is_ipv6) in __udp_gso_segment_list() argument 262 return is_ipv6 ? skb : __udpv4_gso_segment_list_csum(skb); in __udp_gso_segment_list() 266 netdev_features_t features, bool is_ipv6) in __udp_gso_segment() argument 289 return __udp_gso_segment_list(gso_skb, features, is_ipv6); in __udp_gso_segment() 642 NAPI_GRO_CB(skb)->is_ipv6 = 0; in udp4_gro_receive()
|
D | fou_core.c | 251 offloads = NAPI_GRO_CB(skb)->is_ipv6 ? inet6_offloads : inet_offloads; in fou_gro_receive() 270 offloads = NAPI_GRO_CB(skb)->is_ipv6 ? inet6_offloads : inet_offloads; in fou_gro_complete() 434 offloads = NAPI_GRO_CB(skb)->is_ipv6 ? inet6_offloads : inet_offloads; in gue_gro_receive() 478 offloads = NAPI_GRO_CB(skb)->is_ipv6 ? inet6_offloads : inet_offloads; in gue_gro_complete()
|
/Linux-v6.6/tools/testing/selftests/net/forwarding/ |
D | mirror_lib.sh | 23 is_ipv6() function 39 if is_ipv6 $dip; then
|
/Linux-v6.6/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()
|
/Linux-v6.6/tools/testing/selftests/net/ |
D | udpgro_fwd.sh | 83 is_ipv6() { function 104 if is_ipv6 $dst; then 164 is_ipv6 $dst && family=-6
|
/Linux-v6.6/tools/hv/ |
D | hv_kvp_daemon.c | 1201 int is_ipv6) in process_ip_string_nm() argument 1219 if (!is_ipv6) in process_ip_string_nm() 1246 int is_ipv6 = 0; in kvp_set_ip_info() local 1428 is_ipv6 = 1; in kvp_set_ip_info() 1454 (char *)new_val->sub_net, is_ipv6); in kvp_set_ip_info()
|
/Linux-v6.6/include/net/ |
D | udp.h | 176 netdev_features_t features, bool is_ipv6); 293 bool is_ipv6);
|
/Linux-v6.6/drivers/net/ethernet/intel/ice/ |
D | ice_virtchnl.c | 603 bool is_ipv6 = false; in ice_vc_validate_pattern() local 620 is_ipv6 = true; in ice_vc_validate_pattern() 625 else if (is_ipv6) in ice_vc_validate_pattern() 632 else if (is_ipv6) in ice_vc_validate_pattern() 638 else if (is_ipv6) in ice_vc_validate_pattern() 645 else if (is_ipv6) in ice_vc_validate_pattern() 651 else if (is_ipv6) in ice_vc_validate_pattern() 658 else if (is_ipv6) in ice_vc_validate_pattern() 665 else if (is_ipv6) in ice_vc_validate_pattern() 671 else if (is_ipv6) in ice_vc_validate_pattern()
|
/Linux-v6.6/net/ipv6/ |
D | udp_offload.c | 152 NAPI_GRO_CB(skb)->is_ipv6 = 1; in udp6_gro_receive()
|
/Linux-v6.6/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()
|
D | hw_atl_b0.c | 696 if (buff->is_ipv6) in hw_atl_b0_hw_ring_tx_xmit() 1453 if (!data->is_ipv6) { in hw_atl_b0_hw_fl3l4_clear() 1483 if (!data->is_ipv6) { in hw_atl_b0_hw_fl3l4_set()
|
/Linux-v6.6/net/mptcp/ |
D | pm_netlink.c | 1003 bool is_ipv6 = sk->sk_family == AF_INET6; in mptcp_pm_nl_create_listen_socket() local 1026 is_ipv6 ? "mlock-AF_INET6" : "mlock-AF_INET", in mptcp_pm_nl_create_listen_socket() 1027 &mptcp_slock_keys[is_ipv6], in mptcp_pm_nl_create_listen_socket() 1028 is_ipv6 ? "msk_lock-AF_INET6" : "msk_lock-AF_INET", in mptcp_pm_nl_create_listen_socket() 1029 &mptcp_keys[is_ipv6]); in mptcp_pm_nl_create_listen_socket()
|
/Linux-v6.6/tools/testing/selftests/bpf/prog_tests/ |
D | sk_lookup.c | 82 static bool is_ipv6(const char *ip) in is_ipv6() function 117 family = is_ipv6(ip) ? AF_INET6 : AF_INET; in make_socket() 264 if (is_ipv6(local_ip)) { in fill_sk_lookup_ctx()
|