Home
last modified time | relevance | path

Searched refs:ip_id (Results 1 – 25 of 66) sorted by relevance

123

/freebsd/sys/netinet/
H A Dip_id.c126 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 Dip.h59 u_short ip_id; /* identification */ member
H A Dip_reass.c288 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 Dip_reass_test.c93 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 Diptests.c127 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 Dip.c119 if (!ip->ip_id) in send_ip()
120 ip->ip_id = htons(id++); in send_ip()
H A Dresend.c42 printf("len %d id %d ", ip->ip_len, ip->ip_id); in dumppacket()
/freebsd/stand/libsa/
H A Dip.c72 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 Dslcompress.c364 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 Dnat_cmd.c555 (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 Dslcompress.c349 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 Digc_base.h105 __le16 ip_id; /* IP id */ member
H A Digc_hw.h146 __le16 ip_id; /* IP id */ member
176 __le16 ip_id; /* IP id */ member
/freebsd/sys/dev/e1000/
H A De1000_base.h133 __le16 ip_id; /* IP id */ member
/freebsd/contrib/tcpdump/
H A Dip.h58 nd_uint16_t ip_id; /* identification */ member
/freebsd/sys/powerpc/mpc85xx/
H A Datpic.c150 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 Dbuddy.c71 id = ih->ip_id; in handle_data()
/freebsd/sys/netinet/libalias/
H A Dalias.c1198 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 Dalias_db.c1048 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 Dprintpacket.c72 PRINTF("ip #%d %d(%d) %d", ntohs(ip->ip_id), ntohs(ip->ip_len), in printpacket()
/freebsd/sbin/ipf/ipftest/
H A Dipftest.c707 static uint16_t ip_id; in ip_fillid() local
709 ip->ip_id = ip_id++; in ip_fillid()
/freebsd/sys/isa/
H A Disavar.h101 uint32_t ip_id; member
H A Disa_common.c1016 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 Dnat64_translate.c537 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 Ddhcp.h21 #define id ip_id

123