Home
last modified time | relevance | path

Searched refs:pm (Results 1 – 5 of 5) sorted by relevance

/net/ipv4/netfilter/
Dipt_ULOG.c165 ulog_packet_msg_t *pm; in ipt_ulog_packet() local
181 size = NLMSG_SPACE(sizeof(*pm) + copy_len); in ipt_ulog_packet()
206 sizeof(*pm)+copy_len); in ipt_ulog_packet()
209 pm = NLMSG_DATA(nlh); in ipt_ulog_packet()
216 pm->data_len = copy_len; in ipt_ulog_packet()
218 put_unaligned(tv.tv_sec, &pm->timestamp_sec); in ipt_ulog_packet()
219 put_unaligned(tv.tv_usec, &pm->timestamp_usec); in ipt_ulog_packet()
220 put_unaligned(skb->mark, &pm->mark); in ipt_ulog_packet()
221 pm->hook = hooknum; in ipt_ulog_packet()
223 strncpy(pm->prefix, prefix, sizeof(pm->prefix)); in ipt_ulog_packet()
[all …]
/net/bridge/netfilter/
Debt_ulog.c128 ebt_ulog_packet_msg_t *pm; in ebt_ulog_packet() local
142 size = NLMSG_SPACE(sizeof(*pm) + copy_len); in ebt_ulog_packet()
165 pm = NLMSG_DATA(nlh); in ebt_ulog_packet()
168 pm->version = EBT_ULOG_VERSION; in ebt_ulog_packet()
170 pm->stamp = ktime_to_timeval(kt); in ebt_ulog_packet()
173 pm->data_len = copy_len; in ebt_ulog_packet()
174 pm->mark = skb->mark; in ebt_ulog_packet()
175 pm->hook = hooknr; in ebt_ulog_packet()
177 strcpy(pm->prefix, uloginfo->prefix); in ebt_ulog_packet()
179 *(pm->prefix) = '\0'; in ebt_ulog_packet()
[all …]
/net/8021q/
Dvlan_netlink.c160 struct vlan_priority_tci_mapping *pm; in vlan_fill_info() local
195 for (pm = vlan->egress_priority_map[i]; pm; in vlan_fill_info()
196 pm = pm->next) { in vlan_fill_info()
197 if (!pm->vlan_qos) in vlan_fill_info()
200 m.from = pm->priority; in vlan_fill_info()
201 m.to = (pm->vlan_qos >> 13) & 0x7; in vlan_fill_info()
Dvlan_dev.c653 struct vlan_priority_tci_mapping *pm; in vlan_dev_uninit() local
658 while ((pm = vlan->egress_priority_map[i]) != NULL) { in vlan_dev_uninit()
659 vlan->egress_priority_map[i] = pm->next; in vlan_dev_uninit()
660 kfree(pm); in vlan_dev_uninit()
/net/phonet/
Daf_phonet.c271 const struct phonetmsg *pm; in can_respond() local
286 pm = pn_msg(skb); in can_respond()
287 if (pm->pn_msg_id != PN_COMMON_MESSAGE) in can_respond()
290 ? pm->pn_e_submsg_id : pm->pn_submsg_id; in can_respond()
292 pm->pn_e_submsg_id != PN_COMM_SERVICE_NOT_IDENTIFIED_RESP) in can_respond()