/src/sys/dist/pf/net/ |
pf_mtag.c | 52 struct m_tag *mtag; local in function:pf_find_mtag 54 if ((mtag = m_tag_find(m, PACKET_TAG_PF)) == NULL) 57 return ((struct pf_mtag *)(mtag + 1)); 63 struct m_tag *mtag; local in function:pf_get_mtag 65 if ((mtag = m_tag_find(m, PACKET_TAG_PF)) == NULL) { 66 mtag = m_tag_get(PACKET_TAG_PF, sizeof(struct pf_mtag), 68 if (mtag == NULL) 70 bzero(mtag + 1, sizeof(struct pf_mtag)); 71 m_tag_prepend(m, mtag); 74 return ((struct pf_mtag *)(mtag + 1)) [all...] |
pf.c | 1717 struct m_tag *mtag; local in function:pf_send_tcp 1720 mtag = m_tag_get(PACKET_TAG_ALTQ_QID, sizeof(*atag), M_NOWAIT); 1721 if (mtag != NULL) { 1722 atag = (struct altq_tag *)(mtag + 1); 1727 m_tag_prepend(m, mtag); 1882 struct m_tag *mtag; local in function:pf_send_icmp 1885 mtag = m_tag_get(PACKET_TAG_ALTQ_QID, sizeof(*atag), M_NOWAIT); 1886 if (mtag != NULL) { 1887 atag = (struct altq_tag *)(mtag + 1); 1892 m_tag_prepend(m0, mtag); 5932 struct m_tag *mtag; local in function:pf_test 6359 struct m_tag *mtag; local in function:pf_test6 [all...] |
/src/sys/dev/ieee1394/ |
if_fwip.c | 533 struct m_tag *mtag; local in function:fwip_async_output 569 mtag = m_tag_find(m, MTAG_FIREWIRE_HWADDR); 570 if (mtag == NULL) 573 destfw = (struct fw_hwaddr *) (mtag + 1); 692 struct m_tag *mtag; local in function:fwip_stream_input 764 mtag = m_tag_get(MTAG_FIREWIRE_SENDER_EUID, 766 if (mtag) { 769 uint32_t *p2 = (uint32_t *) (mtag + 1); 780 m_tag_prepend(m, mtag); 822 struct m_tag *mtag; local in function:fwip_unicast_input [all...] |
/src/sys/netipsec/ |
ipsec_output.c | 94 struct m_tag *mtag; local in function:ipsec_register_done 96 mtag = m_tag_get(PACKET_TAG_IPSEC_OUT_DONE, 0, M_NOWAIT); 97 if (mtag == NULL) { 103 m_tag_prepend(m, mtag); 292 struct m_tag *mtag; local in function:ipsec_fill_saidx_bymbuf 302 mtag = m_tag_find(m, PACKET_TAG_IPSEC_NAT_T_PORTS); 303 if (mtag) { 306 natt_ports = (u_int16_t *)(mtag + 1);
|
ipsecif.c | 113 struct m_tag *mtag; local in function:ipsecif_set_natt_ports 115 mtag = m_tag_get(PACKET_TAG_IPSEC_NAT_T_PORTS, 117 if (mtag) { 120 natt_port = (uint16_t *)(mtag + 1); 123 m_tag_prepend(m, mtag); 282 struct m_tag *mtag; local in function:ipsecif4_fragout 287 mtag = m_tag_find(m, PACKET_TAG_IPSEC_NAT_T_PORTS); 288 if (mtag) 289 m_tag_delete(m, mtag); 320 struct m_tag *mtag; local in function:ipsecif4_encap_func 463 struct m_tag *mtag; local in function:ipsecif6_encap_func [all...] |
/src/sys/net/ |
if_ieee1394subr.c | 97 struct m_tag *mtag; local in function:ieee1394_output 120 mtag = m_tag_find(m0, MTAG_FIREWIRE_HWADDR); 121 if (!mtag) { 122 mtag = m_tag_get(MTAG_FIREWIRE_HWADDR, 124 if (!mtag) { 128 m_tag_prepend(m0, mtag); 130 hwdst = (struct ieee1394_hwaddr *)(mtag + 1); 351 struct m_tag *mtag; local in function:ieee1394_input 354 mtag = m_tag_find(m, MTAG_FIREWIRE_SENDER_EUID); 355 if (mtag) [all...] |
if_ethersubr.c | 384 struct m_tag *mtag; local in function:ether_output 385 mtag = m_tag_find(m, PACKET_TAG_MPLS); 386 if (mtag != NULL) { 389 m_tag_delete(m, mtag); 891 struct m_tag *mtag; local in function:ether_input 893 mtag = m_tag_get(PACKET_TAG_ETHERNET_SRC, ETHER_ADDR_LEN, 895 if (mtag != NULL) { 896 memcpy(mtag + 1, &eh->ether_shost, ETHER_ADDR_LEN); 897 m_tag_prepend(m, mtag);
|
if.c | 3080 struct m_tag *mtag; local in function:if_tunnel_check_nesting 3083 mtag = m_tag_find(m, PACKET_TAG_TUNNEL_INFO); 3084 if (mtag != NULL) { 3085 count = (int *)(mtag + 1); 3093 mtag = m_tag_get(PACKET_TAG_TUNNEL_INFO, sizeof(*count), 3095 if (mtag != NULL) { 3096 m_tag_prepend(m, mtag); 3097 count = (int *)(mtag + 1);
|
/src/sys/netinet6/ |
ip6_input.c | 820 struct m_tag *mtag; local in function:ip6_setdstifaddr 823 mtag = ip6_addaux(m); 824 if (mtag == NULL) 827 ip6a = (struct ip6aux *)(mtag + 1); 835 return mtag; 841 struct m_tag *mtag; local in function:ip6_getdstifaddr 843 mtag = ip6_findaux(m); 844 if (mtag != NULL) 845 return (struct ip6aux *)(mtag + 1); 1504 struct m_tag *mtag; local in function:ip6_addaux 1521 struct m_tag *mtag; local in function:ip6_findaux 1530 struct m_tag *mtag; local in function:ip6_delaux [all...] |
/src/sys/netinet/ |
ip_icmp.c | 259 struct m_tag *mtag; local in function:icmp_error 387 mtag = m_tag_find(n, PACKET_TAG_PF); 388 if (mtag != NULL) { 389 m_tag_unlink(n, mtag); 390 m_tag_prepend(m, mtag);
|
ip_output.c | 177 struct m_tag *mtag; local in function:ip_mark_mpls 182 mtag = m_tag_get(PACKET_TAG_MPLS, 185 if (mtag == NULL) 187 m_tag_prepend(m, mtag);
|
if_arp.c | 964 struct m_tag *mtag; local in function:in_arpinput 966 mtag = m_tag_find(m, PACKET_TAG_ETHERNET_SRC); 967 if (mtag == NULL || (ah->ar_hln == ETHER_ADDR_LEN && 968 memcmp(mtag + 1, ar_sha(ah), ah->ar_hln) == 0)) {
|
ip_input.c | 1213 struct m_tag *mtag; local in function:save_rte 1220 mtag = m_tag_get(PACKET_TAG_SRCROUTE, sizeof(*isr), M_NOWAIT); 1221 if (mtag == NULL) 1223 isr = (struct ip_srcrt *)(mtag + 1); 1228 m_tag_prepend(m, mtag); 1242 struct m_tag *mtag; local in function:ip_srcroute 1244 mtag = m_tag_find(m0, PACKET_TAG_SRCROUTE); 1245 if (mtag == NULL) 1247 isr = (struct ip_srcrt *)(mtag + 1); 1289 m_tag_delete(m0, mtag); [all...] |