Searched refs:fwd_tag (Results 1 – 8 of 8) sorted by relevance
/freebsd/sys/netinet6/ |
H A D | ip6_fastfwd.c | 95 struct m_tag *fwd_tag; in ip6_tryforward() local 177 * M_IP6_NEXTHOP flag is set and fwd_tag is attached to mbuf. in ip6_tryforward() 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() 238 * M_IP6_NEXTHOP flag is set and fwd_tag is attached to mbuf. 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 ! in ip6_tryforward() [all...] |
H A D | ip6_forward.c | 101 struct m_tag *fwd_tag; in ip6_forward() local 365 (fwd_tag = m_tag_find(m, PACKET_TAG_IPFORWARD, NULL)) != NULL) { in ip6_forward() 366 struct sockaddr_in6 *gw6 = (struct sockaddr_in6 *)(fwd_tag + 1); in ip6_forward() 375 m_tag_delete(m, fwd_tag); in ip6_forward()
|
H A D | ip6_output.c | 430 struct m_tag *fwd_tag = NULL; in ip6_output() local 668 if (ro->ro_nh != NULL && fwd_tag == NULL && in ip6_output() 674 if (ro->ro_nh != NULL && fwd_tag == NULL && in ip6_output() 683 if (fwd_tag == NULL) { in ip6_output() 722 if (fwd_tag == NULL) { in ip6_output() 768 else if (fwd_tag != NULL) in ip6_output() 1085 (fwd_tag = m_tag_find(m, PACKET_TAG_IPFORWARD, NULL)) != NULL) { in ip6_output() 1090 bcopy((fwd_tag+1), &dst_sa, sizeof(struct sockaddr_in6)); in ip6_output() 1093 m_tag_delete(m, fwd_tag); in ip6_output()
|
H A D | udp6_usrreq.c | 362 struct m_tag *fwd_tag; in udp6_input() local 465 (fwd_tag = m_tag_find(m, PACKET_TAG_IPFORWARD, NULL)) != NULL) { in udp6_input() 468 next_hop6 = (struct sockaddr_in6 *)(fwd_tag + 1); in udp6_input() 490 m_tag_delete(m, fwd_tag); in udp6_input()
|
/freebsd/sys/netinet/ |
H A D | ip_fastfwd.c | 243 struct m_tag *fwd_tag = NULL; in ip_tryforward() local 375 ((fwd_tag = m_tag_find(m, PACKET_TAG_IPFORWARD, NULL)) != NULL)) { in ip_tryforward() 380 (fwd_tag + 1))->sin_addr.s_addr; in ip_tryforward() 381 m_tag_delete(m, fwd_tag); in ip_tryforward() 416 fwd_tag = m_tag_find(m, PACKET_TAG_IPFORWARD, NULL); in ip_tryforward() 418 fwd_tag = NULL; in ip_tryforward() 419 if (odest.s_addr != dest.s_addr || fwd_tag != NULL) { in ip_tryforward() 434 if (fwd_tag) { in ip_tryforward() 436 (fwd_tag + 1))->sin_addr.s_addr; in ip_tryforward() 437 m_tag_delete(m, fwd_tag); in ip_tryforward()
|
H A D | ip_output.c | 111 struct m_tag *fwd_tag = NULL; in ip_output_pfil() local 197 ((fwd_tag = m_tag_find(m, PACKET_TAG_IPFORWARD, NULL)) != NULL)) { in ip_output_pfil() 198 bcopy((fwd_tag+1), dst, sizeof(struct sockaddr_in)); in ip_output_pfil() 201 m_tag_delete(m, fwd_tag); in ip_output_pfil()
|
H A D | udp_usrreq.c | 470 struct m_tag *fwd_tag; in udp_input() local 601 (fwd_tag = m_tag_find(m, PACKET_TAG_IPFORWARD, NULL)) != NULL) { in udp_input() 604 next_hop = (struct sockaddr_in *)(fwd_tag + 1); in udp_input() 625 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_with_port() local 833 fwd_tag = m_tag_find(m, PACKET_TAG_IPFORWARD, NULL); in tcp_input_with_port() 847 if (isipv6 && fwd_tag != NULL) { in tcp_input_with_port() 850 next_hop6 = (struct sockaddr_in6 *)(fwd_tag + 1); in tcp_input_with_port() 879 if (fwd_tag != NULL) { in tcp_input_with_port() 882 next_hop = (struct sockaddr_in *)(fwd_tag+1); in tcp_input_with_port()
|