Searched refs:fwd_tag (Results 1 – 8 of 8) sorted by relevance
| /f-stack/freebsd/netinet6/ |
| H A D | ip6_fastfwd.c | 96 struct m_tag *fwd_tag; in ip6_tryforward() local 184 (fwd_tag = m_tag_find(m, PACKET_TAG_IPFORWARD, NULL)) != NULL) { in ip6_tryforward() 188 bcopy((fwd_tag + 1), &dst, sizeof(dst)); in ip6_tryforward() 190 m_tag_delete(m, fwd_tag); in ip6_tryforward() 252 fwd_tag = m_tag_find(m, PACKET_TAG_IPFORWARD, NULL); in ip6_tryforward() 254 fwd_tag = NULL; in ip6_tryforward() 256 if (fwd_tag != NULL || in ip6_tryforward() 258 if (fwd_tag != NULL) { in ip6_tryforward() 259 bcopy((fwd_tag + 1), &dst, sizeof(dst)); in ip6_tryforward() 261 m_tag_delete(m, fwd_tag); in ip6_tryforward()
|
| H A D | ip6_forward.c | 102 struct m_tag *fwd_tag; in ip6_forward() local 356 (fwd_tag = m_tag_find(m, PACKET_TAG_IPFORWARD, NULL)) != NULL) { in ip6_forward() 357 struct sockaddr_in6 *gw6 = (struct sockaddr_in6 *)(fwd_tag + 1); in ip6_forward() 366 m_tag_delete(m, fwd_tag); in ip6_forward()
|
| H A D | udp6_usrreq.c | 224 struct m_tag *fwd_tag; in udp6_input() local 460 (fwd_tag = m_tag_find(m, PACKET_TAG_IPFORWARD, NULL)) != NULL) { in udp6_input() 463 next_hop6 = (struct sockaddr_in6 *)(fwd_tag + 1); in udp6_input() 485 m_tag_delete(m, fwd_tag); in udp6_input()
|
| H A D | ip6_output.c | 450 struct m_tag *fwd_tag = NULL; in ip6_output() local 696 if (ro->ro_nh != NULL && fwd_tag == NULL && in ip6_output() 702 if (ro->ro_nh != NULL && fwd_tag == NULL && in ip6_output() 711 if (fwd_tag == NULL) { in ip6_output() 745 if (fwd_tag == NULL) { in ip6_output() 1092 (fwd_tag = m_tag_find(m, PACKET_TAG_IPFORWARD, NULL)) != NULL) { in ip6_output() 1097 bcopy((fwd_tag+1), &dst_sa, sizeof(struct sockaddr_in6)); in ip6_output() 1100 m_tag_delete(m, fwd_tag); in ip6_output()
|
| /f-stack/freebsd/netinet/ |
| H A D | ip_fastfwd.c | 206 struct m_tag *fwd_tag = NULL; in ip_tryforward() local 347 ((fwd_tag = m_tag_find(m, PACKET_TAG_IPFORWARD, NULL)) != NULL)) { in ip_tryforward() 352 (fwd_tag + 1))->sin_addr.s_addr; in ip_tryforward() 353 m_tag_delete(m, fwd_tag); in ip_tryforward() 388 fwd_tag = m_tag_find(m, PACKET_TAG_IPFORWARD, NULL); in ip_tryforward() 390 fwd_tag = NULL; in ip_tryforward() 391 if (odest.s_addr != dest.s_addr || fwd_tag != NULL) { in ip_tryforward() 406 if (fwd_tag) { in ip_tryforward() 408 (fwd_tag + 1))->sin_addr.s_addr; in ip_tryforward() 409 m_tag_delete(m, fwd_tag); in ip_tryforward()
|
| H A D | ip_output.c | 116 struct m_tag *fwd_tag = NULL; in ip_output_pfil() local 200 ((fwd_tag = m_tag_find(m, PACKET_TAG_IPFORWARD, NULL)) != NULL)) { in ip_output_pfil() 201 bcopy((fwd_tag+1), dst, sizeof(struct sockaddr_in)); in ip_output_pfil() 204 m_tag_delete(m, fwd_tag); in ip_output_pfil()
|
| H A D | udp_usrreq.c | 404 struct m_tag *fwd_tag; in udp_input() local 661 (fwd_tag = m_tag_find(m, PACKET_TAG_IPFORWARD, NULL)) != NULL) { in udp_input() 664 next_hop = (struct sockaddr_in *)(fwd_tag + 1); in udp_input() 685 m_tag_delete(m, fwd_tag); in udp_input()
|
| H A D | tcp_input.c | 633 struct m_tag *fwd_tag = NULL; in tcp_input() local 829 fwd_tag = m_tag_find(m, PACKET_TAG_IPFORWARD, NULL); in tcp_input() 833 if (isipv6 && fwd_tag != NULL) { in tcp_input() 836 next_hop6 = (struct sockaddr_in6 *)(fwd_tag + 1); in tcp_input() 867 if (fwd_tag != NULL) { in tcp_input() 870 next_hop = (struct sockaddr_in *)(fwd_tag+1); in tcp_input()
|