/freebsd/sys/netinet/ |
H A D | ip_id.c | 126 VNET_DEFINE_STATIC(counter_u64_t, ip_id); 127 #define V_ip_id VNET(ip_id) 251 ip->ip_id = 0; in ip_fillid() 253 ip->ip_id = ip_randomid(); in ip_fillid() 270 ip->ip_id = htons((*(uint64_t *)zpcpu_get(V_ip_id)) & 0xffff); in ip_fillid() 285 VNET_SYSINIT(ip_id, SI_SUB_PROTO_DOMAIN, SI_ORDER_ANY, ipid_sysinit, NULL); 298 VNET_SYSUNINIT(ip_id, SI_SUB_PROTO_DOMAIN, SI_ORDER_THIRD, ipid_sysuninit, NULL);
|
H A D | ip.h | 59 u_short ip_id; /* identification */ member
|
H A D | ip_reass.c | 288 hashkey[2] += ip->ip_id; in ip_reass() 299 if (ip->ip_id == fp->ipq_id && in ip_reass() 331 fp->ipq_id = ip->ip_id; in ip_reass()
|
/freebsd/tests/sys/netinet/ |
H A D | ip_reass_test.c | 93 ip->ip_id = 0; in alloc_lopacket() 210 ip->ip_id = ipid; in ATF_TC_BODY() 216 ip->ip_id = ipid; in ATF_TC_BODY() 222 ip->ip_id = ipid; in ATF_TC_BODY() 228 ip->ip_id = ipid; in ATF_TC_BODY() 293 ip->ip_id = ipid; in ATF_TC_BODY() 299 ip->ip_id = ~ipid; in ATF_TC_BODY() 345 ip->ip_id = ipid; in ATF_TC_BODY() 351 ip->ip_id = ipid; in ATF_TC_BODY()
|
/freebsd/sbin/ipf/ipsend/ |
H A D | iptests.c | 127 ip->ip_id = 0; in ip_test1() 143 ip->ip_id = 0; in ip_test1() 159 ip->ip_id = 0; in ip_test1() 176 ip->ip_id = 0; in ip_test1() 192 ip->ip_id = 0; in ip_test1() 197 ip->ip_id = htons(id++); in ip_test1() 208 ip->ip_id = htons(id++); in ip_test1() 224 ip->ip_id = 0; in ip_test1() 227 ip->ip_id = htons(id++); in ip_test1() 240 ip->ip_id = htons(id++); in ip_test1() [all …]
|
H A D | ip.c | 119 if (!ip->ip_id) in send_ip() 120 ip->ip_id = htons(id++); in send_ip()
|
H A D | resend.c | 42 printf("len %d id %d ", ip->ip_len, ip->ip_id); in dumppacket()
|
/freebsd/stand/libsa/ |
H A D | ip.c | 72 uint16_t ip_id; member 291 ipr->ip_id == ip->ip_id && in readipv4() 305 ipr->ip_id = ip->ip_id; in readipv4()
|
/freebsd/usr.sbin/ppp/ |
H A D | slcompress.c | 364 deltaS = ntohs(ip->ip_id) - ntohs(cs->cs_ip.ip_id); in sl_compress_tcp() 541 DECODES(cs->cs_ip.ip_id) in sl_uncompress_tcp() 543 cs->cs_ip.ip_id = htons(ntohs(cs->cs_ip.ip_id) + 1); in sl_uncompress_tcp() 546 cs->cs_ip.ip_id, (u_long)ntohl(th->th_seq)); in sl_uncompress_tcp()
|
H A D | nat_cmd.c | 555 (unsigned long)((struct ip *)fptr)->ip_id, ++gfrags); in nat_LayerPull() 574 "w %d)\n", (unsigned long)((struct ip *)MBUF_CTOP(bp))->ip_id, in nat_LayerPull()
|
/freebsd/sys/net/ |
H A D | slcompress.c | 349 deltaS = ntohs(ip->ip_id) - ntohs(cs->cs_ip.ip_id); in sl_compress_tcp() 552 DECODES(cs->cs_ip.ip_id) in sl_uncompress_tcp_core() 554 cs->cs_ip.ip_id = htons(ntohs(cs->cs_ip.ip_id) + 1); in sl_uncompress_tcp_core()
|
/freebsd/sys/dev/igc/ |
H A D | igc_base.h | 105 __le16 ip_id; /* IP id */ member
|
H A D | igc_hw.h | 146 __le16 ip_id; /* IP id */ member 176 __le16 ip_id; /* IP id */ member
|
/freebsd/sys/dev/e1000/ |
H A D | e1000_base.h | 133 __le16 ip_id; /* IP id */ member
|
/freebsd/contrib/tcpdump/ |
H A D | ip.h | 58 nd_uint16_t ip_id; /* identification */ member
|
/freebsd/sys/powerpc/mpc85xx/ |
H A D | atpic.c | 150 isa_set_logicalid(child, atpic_ids[0].ip_id); in atpic_isa_identify() 151 isa_set_vendorid(child, atpic_ids[0].ip_id); in atpic_isa_identify()
|
/freebsd/tools/tools/net80211/w00t/redir/ |
H A D | buddy.c | 71 id = ih->ip_id; in handle_data()
|
/freebsd/sys/netinet/libalias/ |
H A D | alias.c | 1198 struct ip *pip, u_short ip_id, u_short *ip_sum); 1204 u_short ip_id, u_short *ip_sum) in FragmentIn() argument 1209 lnk = FindFragmentIn2(la, ip_src, pip->ip_dst, ip_id); in FragmentIn() 1258 lnk = AddFragmentPtrLink(la, pip->ip_src, pip->ip_id); in LibAliasSaveFragment() 1277 lnk = FindFragmentPtr(la, pip->ip_src, pip->ip_id); in LibAliasGetFragment() 1351 iresult = FragmentIn(la, pip->ip_src, pip, pip->ip_id, in LibAliasInLocked() 1402 lnk = FindFragmentIn1(la, pip->ip_src, alias_addr, pip->ip_id); in LibAliasInLocked()
|
H A D | alias_db.c | 1048 u_short ip_id) in FindFragmentIn1() argument 1054 NO_DEST_PORT, ip_id, in FindFragmentIn1() 1059 NO_SRC_PORT, NO_DEST_PORT, ip_id, in FindFragmentIn1() 1068 struct in_addr alias_addr, u_short ip_id) in FindFragmentIn2() argument 1072 NO_DEST_PORT, ip_id, in FindFragmentIn2() 1078 u_short ip_id) in AddFragmentPtrLink() argument 1082 NO_SRC_PORT, NO_DEST_PORT, ip_id, in AddFragmentPtrLink() 1088 u_short ip_id) in FindFragmentPtr() argument 1092 NO_DEST_PORT, ip_id, in FindFragmentPtr()
|
/freebsd/sbin/ipf/libipf/ |
H A D | printpacket.c | 72 PRINTF("ip #%d %d(%d) %d", ntohs(ip->ip_id), ntohs(ip->ip_len), in printpacket()
|
/freebsd/sbin/ipf/ipftest/ |
H A D | ipftest.c | 707 static uint16_t ip_id; in ip_fillid() local 709 ip->ip_id = ip_id++; in ip_fillid()
|
/freebsd/sys/isa/ |
H A D | isavar.h | 101 uint32_t ip_id; member
|
H A D | isa_common.c | 1016 while (ids && ids->ip_id) { in isa_pnp_probe() 1020 if (idev->id_logicalid == ids->ip_id in isa_pnp_probe() 1021 || idev->id_compatid == ids->ip_id) { in isa_pnp_probe()
|
/freebsd/sys/netpfil/ipfw/nat64/ |
H A D | nat64_translate.c | 537 struct mbufq *mq, struct mbuf *m, uint32_t mtu, uint16_t ip_id, in nat64_fragment6() argument 574 ip6f.ip6f_ident = htonl(ntohs(ip_id)); in nat64_fragment6() 1232 uint16_t ip_id, ip_off; in nat64_do_handle_ip4() local 1253 ip_id = ip->ip_id; in nat64_do_handle_ip4() 1325 nat64_fragment6(&cfg->stats, &ip6, &mq, m, nh->nh_mtu, ip_id, ip_off); in nat64_do_handle_ip4()
|
/freebsd/contrib/wpa/src/common/ |
H A D | dhcp.h | 21 #define id ip_id
|