Searched refs:ptype (Results 1 - 15 of 15) sorted by relevance

/net/ipv4/
H A Dgre_offload.c127 struct packet_offload *ptype; local
151 ptype = gro_find_receive_by_type(type);
152 if (ptype == NULL)
216 pp = ptype->callbacks.gro_receive(head, skb);
229 struct packet_offload *ptype; local
245 ptype = gro_find_complete_by_type(type);
246 if (ptype != NULL)
247 err = ptype->callbacks.gro_complete(skb, nhoff + grehlen);
H A Darp.c575 struct sk_buff *arp_create(int type, int ptype, __be32 dest_ip, argument
608 if (dev_hard_header(skb, dev, ptype, dest_hw, src_hw, skb->len) < 0)
695 void arp_send(int type, int ptype, __be32 dest_ip, argument
709 skb = arp_create(type, ptype, dest_ip, dev, src_ip,
/net/nfc/
H A Dllcp_core.c730 u8 ptype = nfc_llcp_ptype(skb); local
738 if (ptype == LLCP_PDU_DISC && sk != NULL &&
745 if (ptype == LLCP_PDU_I)
761 if (ptype == LLCP_PDU_I && copy_skb)
1028 u8 dsap, ssap, ptype, ns, nr; local
1030 ptype = nfc_llcp_ptype(skb);
1052 if (ptype == LLCP_PDU_I) {
1098 if (ptype == LLCP_PDU_RR)
1100 else if (ptype == LLCP_PDU_RNR)
1103 if (nfc_llcp_queue_i_frames(llcp_sock) == 0 && ptype
1361 u8 ptype; local
1405 u8 dsap, ssap, ptype; local
[all...]
H A Dllcp_commands.c290 u8 dsap, u8 ssap, u8 ptype)
294 pr_debug("ptype 0x%x dsap 0x%x ssap 0x%x\n", ptype, dsap, ssap);
296 header[0] = (u8)((dsap << 2) | (ptype >> 2));
297 header[1] = (u8)((ptype << 6) | ssap);
289 llcp_add_header(struct sk_buff *pdu, u8 dsap, u8 ssap, u8 ptype) argument
/net/sched/
H A Dact_gact.c82 if (p_parm->ptype >= MAX_RAND)
108 gact->tcfg_ptype = p_parm->ptype;
161 .ptype = gact->tcfg_ptype,
/net/core/
H A Ddev.c1739 static inline bool skb_loop_sk(struct packet_type *ptype, struct sk_buff *skb) argument
1741 if (!ptype->af_packet_priv || !skb->sk)
1744 if (ptype->id_match)
1745 return ptype->id_match(ptype, skb->sk);
1746 else if ((struct sock *)ptype->af_packet_priv == skb->sk)
1759 struct packet_type *ptype; local
1764 list_for_each_entry_rcu(ptype, &ptype_all, list) {
1768 if ((ptype->dev == dev || !ptype
2411 struct packet_offload *ptype; local
3613 struct packet_type *ptype, *pt_prev; local
3859 struct packet_offload *ptype; local
3990 struct packet_offload *ptype; local
4096 struct packet_offload *ptype; local
4110 struct packet_offload *ptype; local
[all...]
/net/ax25/
H A Dax25_in.c188 ax25_address *dev_addr, struct packet_type *ptype)
438 struct packet_type *ptype, struct net_device *orig_dev)
454 return ax25_rcv(skb, dev, (ax25_address *)dev->dev_addr, ptype);
187 ax25_rcv(struct sk_buff *skb, struct net_device *dev, ax25_address *dev_addr, struct packet_type *ptype) argument
437 ax25_kiss_rcv(struct sk_buff *skb, struct net_device *dev, struct packet_type *ptype, struct net_device *orig_dev) argument
/net/bridge/netfilter/
H A Debt_arp.c34 if (info->bitmask & EBT_ARP_PTYPE && FWINV(info->ptype !=
/net/x25/
H A Dx25_dev.c100 struct packet_type *ptype, struct net_device *orig_dev)
99 x25_lapb_receive_frame(struct sk_buff *skb, struct net_device *dev, struct packet_type *ptype, struct net_device *orig_dev) argument
/net/batman-adv/
H A Dmain.h205 struct packet_type *ptype,
H A Dmain.c360 struct packet_type *ptype,
369 hard_iface = container_of(ptype, struct batadv_hard_iface,
359 batadv_batman_skb_recv(struct sk_buff *skb, struct net_device *dev, struct packet_type *ptype, struct net_device *orig_dev) argument
/net/netfilter/ipvs/
H A Dip_vs_sync.c1083 int ptype; local
1088 ptype = *(p++);
1094 switch (ptype & ~IPVS_OPT_F_PARAM) {
1116 if (!(ptype & IPVS_OPT_F_PARAM)) {
1118 ptype & ~IPVS_OPT_F_PARAM);
/net/phonet/
H A Dpep.c57 static unsigned char *pep_get_sb(struct sk_buff *skb, u8 *ptype, u8 *plen, argument
71 *ptype = ph->sb_type;
/net/irda/
H A Dirlap_frame.c1293 * Function irlap_driver_rcv (skb, netdev, ptype)
1309 struct packet_type *ptype, struct net_device *orig_dev)
1308 irlap_driver_rcv(struct sk_buff *skb, struct net_device *dev, struct packet_type *ptype, struct net_device *orig_dev) argument
/net/packet/
H A Daf_packet.c1417 static bool match_fanout_group(struct packet_type *ptype, struct sock *sk) argument
1419 if (ptype->af_packet_priv == (void *)((struct packet_sock *)sk)->fanout)

Completed in 235 milliseconds