Home
last modified time | relevance | path

Searched refs:daddr (Results 1 – 25 of 54) sorted by relevance

123

/third_party/libnl/lib/xfrm/
Dselector.c64 nl_addr_put (sel->daddr); in sel_destroy()
106 new->daddr = nl_addr_clone(sel->daddr); in xfrmnl_sel_clone()
165 if ((nl_addr_cmp_prefix (a->daddr, b->daddr) != 0) || in xfrmnl_sel_cmp()
185 nl_addr2str (sel->daddr, dst, sizeof (dst)), nl_af2str (sel->family, buf, 128)); in xfrmnl_sel_dump()
203 return sel->daddr; in xfrmnl_sel_get_daddr()
212 sel->daddr = addr; in xfrmnl_sel_set_daddr()
Dtemplate.c58 nl_addr_put (utmpl->id.daddr); in xfrmnl_user_tmpl_free()
100 new->id.daddr = nl_addr_clone (utmpl->id.daddr); in xfrmnl_user_tmpl_clone()
147 if ((nl_addr_cmp_prefix (a->id.daddr, b->id.daddr) != 0) || in xfrmnl_user_tmpl_cmp()
171 nl_addr2str (tmpl->id.daddr, dst, sizeof (dst)), in xfrmnl_user_tmpl_dump()
191 return utmpl->id.daddr; in xfrmnl_user_tmpl_get_daddr()
200 utmpl->id.daddr = addr; in xfrmnl_user_tmpl_set_daddr()
Dae.c155 nl_addr_put (ae->sa_id.daddr); in xfrm_ae_free_data()
167 if (src->sa_id.daddr) in xfrm_ae_clone()
168 if ((dst->sa_id.daddr = nl_addr_clone (src->sa_id.daddr)) == NULL) in xfrm_ae_clone()
195 diff |= XFRM_AE_DIFF(DADDR, nl_addr_cmp(a->sa_id.daddr, b->sa_id.daddr)); in xfrm_ae_compare()
245 __ADD(XFRM_AE_ATTR_DADDR, daddr),
300 nl_addr2str(ae->sa_id.daddr, dst, sizeof(dst))); in xfrm_ae_dump_line()
378 …memcpy (&ae_id.sa_id.daddr, nl_addr_get_binary_addr (tmpl->sa_id.daddr), sizeof (uint8_t) * nl_add… in build_xfrm_ae_message()
499 …ae->sa_id.daddr = nl_addr_build(ae_id->sa_id.family, &ae_id->sa_id.daddr, sizeof (ae_id->sa_id.dad… in xfrmnl_ae_parse()
592 int xfrmnl_ae_build_get_request(struct nl_addr* daddr, unsigned int spi, unsigned int protocol, in xfrmnl_ae_build_get_request() argument
599 if (!daddr || !spi) in xfrmnl_ae_build_get_request()
[all …]
Dsa.c106 nl_addr_put (sa->id.daddr); in xfrm_sa_free_data()
144 if (src->id.daddr) in xfrm_sa_clone()
145 if ((dst->id.daddr = nl_addr_clone (src->id.daddr)) == NULL) in xfrm_sa_clone()
225 diff |= XFRM_SA_DIFF(DADDR, nl_addr_cmp(a->id.daddr, b->id.daddr)); in xfrm_sa_compare()
310 __ADD(XFRM_SA_ATTR_DADDR, daddr),
403 nl_addr2str(sa->id.daddr, dst, sizeof(dst)), in xfrm_sa_dump_line()
603 struct xfrmnl_sa* xfrmnl_sa_get(struct nl_cache* cache, struct nl_addr* daddr, in xfrmnl_sa_get() argument
615 !nl_addr_cmp(sa->id.daddr, daddr)) in xfrmnl_sa_get()
697 …addr = nl_addr_build (sa_info->sel.family, &sa_info->sel.daddr.a4, sizeof (sa_info->sel.daddr.a… in xfrmnl_sa_parse()
699 …addr = nl_addr_build (sa_info->sel.family, &sa_info->sel.daddr.a6, sizeof (sa_info->sel.daddr.a… in xfrmnl_sa_parse()
[all …]
Dsp.c550 …addr = nl_addr_build (sp_info->sel.family, &sp_info->sel.daddr.a4, sizeof (sp_info->sel.daddr.a… in xfrmnl_sp_parse()
552 …addr = nl_addr_build (sp_info->sel.family, &sp_info->sel.daddr.a6, sizeof (sp_info->sel.daddr.a… in xfrmnl_sp_parse()
635 addr = nl_addr_build(tmpl->family, &tmpl->id.daddr.a4, sizeof (tmpl->id.daddr.a4)); in xfrmnl_sp_parse()
637 addr = nl_addr_build(tmpl->family, &tmpl->id.daddr.a6, sizeof (tmpl->id.daddr.a6)); in xfrmnl_sp_parse()
778 …memcpy ((void*)&sp_info.sel.daddr, (void*)nl_addr_get_binary_addr (addr), sizeof (uint8_t) * nl_ad… in build_xfrm_sp_message()
857 memcpy ((void *)&tmpl->id.daddr, nl_addr_get_binary_addr (addr), in build_xfrm_sp_message()
975 …memcpy ((void*)&spid.sel.daddr, (void*)nl_addr_get_binary_addr (addr), sizeof (uint8_t) * nl_addr_… in build_xfrm_sp_delete_message()
/third_party/iptables/extensions/
Dlibxt_connlimit.t12 …imit --connlimit-above 10 --connlimit-daddr;-m connlimit --connlimit-above 10 --connlimit-mask 32 …
13 -m connlimit --connlimit-above 10 --connlimit-saddr --connlimit-daddr;;FAIL
15 -m connlimit --connlimit-above 10 --connlimit-mask 32 --connlimit-daddr;=;OK
Dlibxt_iprange.txlate5 nft add rule ip filter INPUT ip daddr 192.168.25.149-192.168.25.151 counter accept
8 nft add rule ip filter INPUT ip saddr 4.4.4.4-7.7.7.7 ip daddr 3.3.3.3-6.6.6.6 counter accept
11 nft add rule ip6 filter INPUT ip6 daddr != ::2d01-::2d03 counter accept
14 nft add rule ip6 filter INPUT ip6 saddr ::2d01-::2d03 ip6 daddr != ::2d01-::2d03 counter accept
Dlibxt_policy.c137 if (e->match.daddr) in policy_parse()
140 e->match.daddr = 1; in policy_parse()
141 e->invert.daddr = cb->invert; in policy_parse()
142 memcpy(&e->daddr, &cb->val.haddr, sizeof(cb->val.haddr)); in policy_parse()
212 e->match.daddr || e->match.proto || e->match.mode)) in policy_check()
219 if ((e->match.saddr || e->match.daddr) in policy_check()
283 if (e->match.daddr) { in print_entry()
284 PRINT_INVERT(e->invert.daddr); in print_entry()
287 xtables_ip6addr_to_numeric(&e->daddr.a6), in print_entry()
291 xtables_ipaddr_to_numeric(&e->daddr.a4), in print_entry()
Dlibxt_addrtype.txlate5 nft add rule ip filter INPUT fib daddr type local counter
8 nft add rule ip filter INPUT fib daddr type != { local, anycast } counter
11 nft add rule ip filter INPUT fib daddr . iif type { local, anycast } counter
Dlibebt_dnat.txlate2 nft add rule bridge nat PREROUTING iifname "someport" ether daddr set de:ad:0:be:ee:ff accept count…
5 nft add rule bridge nat PREROUTING iifname "someport" ether daddr set de:ad:0:be:ee:ff accept count…
8 nft add rule bridge nat PREROUTING iifname "someport" ether daddr set de:ad:0:be:ee:ff continue cou…
Dgeneric.txlate2 nft insert rule ip filter OUTPUT ip protocol udp ip daddr 8.8.8.8 counter accept
11 nft add rule ip filter INPUT iifname "iif*" ip daddr != 10.0.0.0/8 counter
17 …"iname" meta ibrname "ilogname" oifname "out*" meta obrname "lout*" ether daddr 01:02:03:04:de:af …
20 nft insert rule bridge filter INPUT ether type 0x800 ether daddr 01:02:03:04:00:00 and ff:ff:ff:ff:…
Dlibxt_comment.txlate5 nft add rule ip filter INPUT ip saddr 192.168.0.0/16 ip daddr 192.168.0.0/16 tcp sport 80 counter j…
8 nft add rule ip filter FORWARD ip saddr 192.168.0.0/16 ip daddr 192.168.0.0/16 tcp sport 80 counter…
Dlibxt_conntrack.txlate20 nft add rule ip filter INPUT ct original daddr 10.100.2.131 counter accept
26 nft add rule ip filter INPUT ct reply daddr 10.100.2.131 counter accept
44 …n 10 ct original saddr 192.168.0.1 ct original daddr 192.168.0.1 ct reply saddr 192.168.0.1 ct rep…
Dlibxt_hashlimit.txlate2 nft add rule ip filter OUTPUT tcp dport 443 meter https { ip daddr and 255.255.255.0 timeout 60s li…
5 nft add rule ip filter OUTPUT tcp dport 443 meter https { ip daddr . ip saddr timeout 300s limit ra…
Dlibebt_ip6.txlate5 nft add rule bridge filter FORWARD ip6 daddr != dead:beef::/64 counter accept
8 nft insert rule bridge filter FORWARD ip6 daddr f00:ba:: counter
Dlibebt_ip6.c246 memset(ipinfo->daddr.s6_addr, 0, sizeof(ipinfo->daddr.s6_addr)); in brip6_init()
345 ebt_parse_ip6_address(optarg, &info->daddr, &info->dmsk); in brip6_parse()
412 printf("%s", xtables_ip6addr_to_numeric(&ipinfo->daddr)); in brip6_print()
509 addrp = (struct in6_addr *)&info->daddr; in brip_xlate_nh()
Dlibxt_connlimit.man17 \-\-connlimit\-daddr is not specified.
19 \fB\-\-connlimit\-daddr\fP
Dlibebt_ip.c39 __be32 daddr; member
398 ebt_parse_ip_address(optarg, &info->daddr, &info->dmsk); in brip_parse()
487 addrp = (struct in_addr *)&info->daddr; in brip_print()
656 addrp = (struct in_addr *)&info->daddr; in brip_xlate_nh()
Dlibxt_udp.txlate8 nft insert rule ip filter OUTPUT ip protocol udp ip daddr 8.8.8.8 counter accept
/third_party/ltp/testcases/network/stress/ns-tools/
Dns-icmpv6_sender.c64 struct in6_addr daddr; member
281 pkt.hdr.ip6_dst = info_p->daddr; in create_mld_query()
304 if (memcmp(&info_p->daddr, &in6addr_allnodes, sizeof(struct in6_addr)) in create_mld_query()
308 query_p->addr = info_p->daddr; in create_mld_query()
380 pkt.hdr.ip6_dst = info_p->daddr; in create_echo_request()
485 info_p->daddr = opt_addr; in parse_options()
597 info_p->daddr = in6addr_allnodes; in parse_options()
599 calc_hd_mcastaddr(&info_p->daddr_ll, &info_p->daddr); in parse_options()
Dns-icmpv4_sender.c64 struct in_addr daddr; member
211 fake_p->daddr = opt_addr; in parse_options()
376 pkt.hdr.daddr = fake_p->daddr.s_addr; in create_clean_packet()
515 bitsize = sizeof(pkt->hdr.daddr) * 8; in thrust_fakes()
517 pkt->hdr.daddr ^= seed; in thrust_fakes()
/third_party/iptables/include/linux/netfilter/
Dxt_policy.h22 daddr:1, member
39 union xt_policy_addr daddr; member
/third_party/libnl/include/linux-private/linux/
Dxfrm.h26 xfrm_address_t daddr; member
50 xfrm_address_t daddr; member
392 xfrm_address_t daddr; member
497 xfrm_address_t daddr; member
/third_party/iptables/include/linux/netfilter_bridge/
Debt_ip.h33 __be32 daddr; member
Debt_802_3.h46 __u8 daddr[ETH_ALEN]; member

123