Searched refs:fwd_tag (Results 1 - 8 of 8) sorted by last modified time

/freebsd-11-stable/sys/netinet/
H A Dtcp_input.c593 struct m_tag *fwd_tag = NULL; local
805 fwd_tag = m_tag_find(m, PACKET_TAG_IPFORWARD, NULL);
816 if (isipv6 && fwd_tag != NULL) {
819 next_hop6 = (struct sockaddr_in6 *)(fwd_tag + 1);
850 if (fwd_tag != NULL) {
853 next_hop = (struct sockaddr_in *)(fwd_tag+1);
H A Dudp_usrreq.c389 struct m_tag *fwd_tag; local
630 (fwd_tag = m_tag_find(m, PACKET_TAG_IPFORWARD, NULL)) != NULL) {
633 next_hop = (struct sockaddr_in *)(fwd_tag + 1);
654 m_tag_delete(m, fwd_tag);
H A Dip_output.c108 struct m_tag *fwd_tag = NULL; local
183 ((fwd_tag = m_tag_find(m, PACKET_TAG_IPFORWARD, NULL)) != NULL)) {
184 bcopy((fwd_tag+1), dst, sizeof(struct sockaddr_in));
187 m_tag_delete(m, fwd_tag);
H A Dip_fastfwd.c157 struct m_tag *fwd_tag = NULL; local
298 ((fwd_tag = m_tag_find(m, PACKET_TAG_IPFORWARD, NULL)) != NULL)) {
303 (fwd_tag + 1))->sin_addr.s_addr;
304 m_tag_delete(m, fwd_tag);
340 fwd_tag = m_tag_find(m, PACKET_TAG_IPFORWARD, NULL);
342 fwd_tag = NULL;
343 if (odest.s_addr != dest.s_addr || fwd_tag != NULL) {
358 if (fwd_tag) {
360 (fwd_tag + 1))->sin_addr.s_addr;
361 m_tag_delete(m, fwd_tag);
[all...]
/freebsd-11-stable/sys/netinet6/
H A Dip6_output.c360 struct m_tag *fwd_tag = NULL; local
591 if (ro->ro_rt && fwd_tag == NULL && (ro->ro_rt->rt_flags & RTF_UP) &&
600 if (fwd_tag == NULL) {
921 (fwd_tag = m_tag_find(m, PACKET_TAG_IPFORWARD, NULL)) != NULL) {
923 bcopy((fwd_tag+1), &dst_sa, sizeof(struct sockaddr_in6));
926 m_tag_delete(m, fwd_tag);
H A Dudp6_usrreq.c204 struct m_tag *fwd_tag; local
415 (fwd_tag = m_tag_find(m, PACKET_TAG_IPFORWARD, NULL)) != NULL) {
418 next_hop6 = (struct sockaddr_in6 *)(fwd_tag + 1);
440 m_tag_delete(m, fwd_tag);
H A Dip6_fastfwd.c90 struct m_tag *fwd_tag; local
171 * M_IP6_NEXTHOP flag is set and fwd_tag is attached to mbuf.
178 (fwd_tag = m_tag_find(m, PACKET_TAG_IPFORWARD, NULL)) != NULL) {
182 bcopy((fwd_tag + 1), &dst, sizeof(dst));
184 m_tag_delete(m, fwd_tag);
232 * M_IP6_NEXTHOP flag is set and fwd_tag is attached to mbuf.
246 fwd_tag = m_tag_find(m, PACKET_TAG_IPFORWARD, NULL);
248 fwd_tag = NULL;
250 if (fwd_tag != NULL ||
252 if (fwd_tag !
[all...]
H A Dip6_forward.c101 struct m_tag *fwd_tag; local
364 (fwd_tag = m_tag_find(m, PACKET_TAG_IPFORWARD, NULL)) != NULL) {
366 bcopy((fwd_tag+1), dst, sizeof(struct sockaddr_in6));
369 m_tag_delete(m, fwd_tag);

Completed in 127 milliseconds