Home
last modified time | relevance | path

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

/xnu-8019.80.24/bsd/skywalk/nexus/netif/
H A Dnx_netif_gso.c121 uint16_t ip_id; member
404 state->hdr.ip->ip_id = htons((state->ip_id)++); in netif_gso_ipv4_tcp_internal()
494 state->ip_id = ntohs(state->hdr.ip->ip_id); in netif_gso_ip_tcp_init_state()
/xnu-8019.80.24/bsd/net/
H A Dpf_norm.c450 key->fr_id = ip->ip_id; in pf_ip2key()
599 (*frag)->fr_id = frent->fr_ip->ip_id; in pf_reassemble()
840 (*frag)->fr_id = h->ip_id; in pf_fragcache()
851 DPFPRINTF(("fragcache[%d]: new %d-%d\n", h->ip_id, off, in pf_fragcache()
878 h->ip_id, frp->fr_off, frp->fr_end, off, fr_max)); in pf_fragcache()
884 h->ip_id, frp->fr_off, frp->fr_end, off, fr_max)); in pf_fragcache()
896 h->ip_id, precut, frp->fr_off, frp->fr_end, off, in pf_fragcache()
946 h->ip_id, -precut, frp->fr_off, frp->fr_end, off, in pf_fragcache()
969 h->ip_id, off, fr_max, fra->fr_off, fra->fr_end)); in pf_fragcache()
975 h->ip_id, aftercut, off, fr_max, fra->fr_off, in pf_fragcache()
[all …]
H A Dnat464_utils.c515 ip4->ip_id = rfc6864 ? 0 : htons(ip_randomid(ipid_salt)); in nat464_translate_icmp_ip()
672 ip4->ip_id = 0; in nat464_translate_64()
685 ip4->ip_id = ntohl(frag6.ip6f_ident) & 0xffff; in nat464_translate_64()
686 ip4->ip_id = htons(ip4->ip_id); in nat464_translate_64()
H A Dif_bridge.c9156 uint16_t ip_id;
9180 state->hdr.ip->ip_id = htons((state->ip_id)++);
9259 state->ip_id = ntohs(state->hdr.ip->ip_id);
H A Dpf.c4447 ip4->ip_id = rfc6864 ? 0 : htons(ip_randomid(ipid_salt)); in pf_change_icmp_af()
4715 ip4->ip_id = 0; in pf_nat64_ipv6()
H A Ddlil.c6931 ip_id_val = iph->ip_id; in dlil_clat46()
/xnu-8019.80.24/bsd/netinet/
H A Dip.h105 u_short ip_id; /* identification */ member
H A Dip_var.h304 extern u_short ip_id; /* ip packet ctr, for ids */
H A Draw_ip.c526 if (ip->ip_id == 0 && !(rfc6864 && IP_OFF_IS_ATOMIC(ntohs(ip->ip_off)))) { in rip_output()
527 ip->ip_id = ip_randomid((uint64_t)m); in rip_output()
H A Dip_compat.h571 __u16 ip_id;
H A Dip_input.c538 ip_id = (u_short)(RandomULong() ^ tv.tv_usec); in ip_init()
2194 hash = IPREASS_HASH(ip->ip_src.s_addr, ip->ip_id); in ip_reass()
2202 if (ip->ip_id == fp->ipq_id && in ip_reass()
2354 fp->ipq_id = ip->ip_id; in ip_reass()
H A Dip_output.c141 u_short ip_id; variable
554 ip->ip_id = 0; in ip_output_list()
556 ip->ip_id = ip_randomid((uint64_t)m); in ip_output_list()
H A Dtcp_subr.c675 ip->ip_id = 0; in tcp_fillheaders()
3913 ip->ip_id = rfc6864 ? 0 : ip_randomid((uint64_t)m); in tcp_make_keepalive_frame()
/xnu-8019.80.24/tests/
H A Dicmp_fragmented_payload.c252 pcb->inner_ip_hdr->ip_id = 1; in icmp4_pcb_set_payload()
341 .ip_id = 1,
H A Dnet_bridge.c823 ntohs(ip_udp->ip.ip_id)); in ip_frame_validate()
990 static int ip_id; in ethernet_udp4_frame_populate() local
1039 ip_udp->ip.ip_id = htons(ip_id++); in ethernet_udp4_frame_populate()
/xnu-8019.80.24/osfmk/kdp/
H A Dkdp_udp.c95 static u_short ip_id; /* ip packet ctr, for ids */ variable
158 u_short ip_id; /* identification */ member
588 ip->ip_id = htons(ip_id++); in kdp_reply()
665 ip->ip_id = htons(ip_id++); in kdp_send()
1555 ip->ip_id = htons(ip_id++); in create_panic_header()
/xnu-8019.80.24/bsd/dev/dtrace/scripts/
H A Dip.d163 ipv4_ident = (ip != NULL) ? ip->ip_id : 0;
/xnu-8019.80.24/bsd/skywalk/nexus/flowswitch/flow/
H A Dflow_classifier.c235 pkt->pkt_flow_ip_frag_id = iph->ip_id; in flow_pkt_classify()
H A Dflow_agg.c104 .ip_id = 0,
/xnu-8019.80.24/bsd/netinet6/
H A Dipsec.c2385 ip->ip_id = 0; in ipsec4_encapsulate()
2387 ip->ip_id = ip_randomid((uint64_t)m); in ipsec4_encapsulate()
2524 ip->ip_id = 0; in ipsec64_encapsulate()
5095 ip->ip_id = 0; in ipsec_fill_offload_frame()
5097 ip->ip_id = ip_randomid((uint64_t)data); in ipsec_fill_offload_frame()
/xnu-8019.80.24/bsd/skywalk/nexus/flowswitch/
H A Dfsw_ip_frag.c291 key.ipfk_ident = (uint32_t)ip4->ip_id; in fsw_ip_frag_reass_v4()
/xnu-8019.80.24/bsd/conf/
H A Dfiles304 bsd/netinet/ip_id.c optional inet