Searched refs:ipov (Results 1 – 7 of 7) sorted by relevance
88 struct ipovly ipov; in in4_cksum() member106 bzero(&u.ipov, sizeof(u.ipov)); in in4_cksum()107 u.ipov.ih_len = htons(len); in in4_cksum()108 u.ipov.ih_pr = nxt; in in4_cksum()109 u.ipov.ih_src = mtod(m, struct ip *)->ip_src; in in4_cksum()110 u.ipov.ih_dst = mtod(m, struct ip *)->ip_dst; in in4_cksum()
368 struct ipovly *ipov = (struct ipovly *)ip; in ctf_process_inbound_raw() local373 bzero(ipov->ih_x1, sizeof(ipov->ih_x1)); in ctf_process_inbound_raw()374 ipov->ih_len = htons(tlen); in ctf_process_inbound_raw()
11892 struct ipovly *ipov = NULL; in rack_output() local13399 ipov = (struct ipovly *)ip; in rack_output()13654 save = ipov->ih_len; in rack_output()13655 ipov->ih_len = htons(m->m_pkthdr.len /* - hdrlen + in rack_output()13662 ipov->ih_len = save; in rack_output()
11971 struct ipovly *ipov = NULL; in bbr_output_wtime() local13439 ipov = (struct ipovly *)ip; in bbr_output_wtime()13684 save = ipov->ih_len; in bbr_output_wtime()13685 ipov->ih_len = htons(m->m_pkthdr.len /* - hdrlen + in bbr_output_wtime()13692 ipov->ih_len = save; in bbr_output_wtime()
206 struct ipovly *ipov = NULL; in tcp_output() local1150 ipov = (struct ipovly *)ip; in tcp_output()1389 save = ipov->ih_len; in tcp_output()1390 ipov->ih_len = htons(m->m_pkthdr.len /* - hdrlen + (th->th_off << 2) */); in tcp_output()1396 ipov->ih_len = save; in tcp_output()
779 struct ipovly *ipov = mtod(m, struct ipovly *); in syncache_get_toa() local780 struct ip *ip = (struct ip *)ipov; in syncache_get_toa()783 struct ip6_hdr *ip6 = (struct ip6_hdr *)ipov; in syncache_get_toa()796 th = (struct tcphdr *)((caddr_t)ip + (ntohs(ip->ip_len) - ntohs(ipov->ih_len))); in syncache_get_toa()
733 struct ipovly *ipov = (struct ipovly *)ip; in tcp_input() local740 bzero(ipov->ih_x1, sizeof(ipov->ih_x1)); in tcp_input()741 ipov->ih_len = htons(tlen); in tcp_input()