Home
last modified time | relevance | path

Searched refs:ptype (Results 1 – 25 of 27) sorted by relevance

12

/linux-2.4.37.9/net/core/
Ddev.c937 struct packet_type *ptype; in dev_queue_xmit_nit() local
941 for (ptype = ptype_all; ptype!=NULL; ptype = ptype->next) in dev_queue_xmit_nit()
946 if ((ptype->dev == dev || !ptype->dev) && in dev_queue_xmit_nit()
947 ((struct sock *)ptype->data != skb->sk)) in dev_queue_xmit_nit()
967 ptype->func(skb2, skb->dev, ptype); in dev_queue_xmit_nit()
1463 struct packet_type *ptype, *pt_prev; in netif_receive_skb() local
1484 for (ptype = ptype_all; ptype; ptype = ptype->next) { in netif_receive_skb()
1485 if (!ptype->dev || ptype->dev == skb->dev) { in netif_receive_skb()
1494 pt_prev = ptype; in netif_receive_skb()
1511 for (ptype=ptype_base[ntohs(type)&15];ptype;ptype=ptype->next) { in netif_receive_skb()
[all …]
/linux-2.4.37.9/include/net/
Darp.h17 extern void arp_send(int type, int ptype, u32 dest_ip,
24 extern struct sk_buff *arp_create(int type, int ptype, u32 dest_ip,
/linux-2.4.37.9/drivers/isdn/isdnloop/
Disdnloop.h27 int ptype; member
80 int ptype; /* Protocol type (1TR6 or Euro) */ member
Disdnloop.c351 card->ptype = ISDN_PTYPE_1TR6; in isdnloop_polldchan()
357 card->ptype = ISDN_PTYPE_EURO; in isdnloop_polldchan()
557 switch (card->ptype) { in isdnloop_unicause()
698 switch (cc->ptype) { in isdnloop_try_call()
760 switch (card->ptype) { in isdnloop_vstphone()
869 if (card->ptype != ISDN_PTYPE_1TR6) { in isdnloop_parse_cmd()
1082 switch (sdef.ptype) { in isdnloop_start()
1115 sdef.ptype); in isdnloop_start()
1161 while (card->ptype == ISDN_PTYPE_UNKNOWN) { in isdnloop_command()
1290 if (card->ptype == ISDN_PTYPE_EURO) { in isdnloop_command()
[all …]
/linux-2.4.37.9/include/linux/
Damigaffs.h180 u32 ptype; member
206 u32 ptype; member
236 u32 ptype; member
245 u32 ptype; member
/linux-2.4.37.9/net/ax25/
Dax25_in.c219 …rcv(struct sk_buff *skb, struct net_device *dev, ax25_address *dev_addr, struct packet_type *ptype) in ax25_rcv() argument
294 ip_rcv(skb, dev, ptype); /* Note ptype here is the wrong one, fix me later */ in ax25_rcv()
304 arp_rcv(skb, dev, ptype); /* Note ptype here is wrong... */ in ax25_rcv()
474 struct packet_type *ptype) in ax25_kiss_rcv() argument
486 return ax25_rcv(skb, dev, (ax25_address *)dev->dev_addr, ptype); in ax25_kiss_rcv()
/linux-2.4.37.9/net/x25/
Dx25_dev.c101 int x25_lapb_receive_frame(struct sk_buff *skb, struct net_device *dev, struct packet_type *ptype) in x25_lapb_receive_frame() argument
148 int x25_llc_receive_frame(struct sk_buff *skb, struct net_device *dev, struct packet_type *ptype) in x25_llc_receive_frame() argument
/linux-2.4.37.9/drivers/isdn/act2000/
Dmodule.c280 card->ptype = a?ISDN_PTYPE_EURO:ISDN_PTYPE_1TR6; in act2000_command()
320 if (card->ptype == ISDN_PTYPE_EURO) in act2000_command()
370 if (card->ptype == ISDN_PTYPE_EURO) { in act2000_command()
373 if (card->ptype == ISDN_PTYPE_1TR6) { in act2000_command()
636 card->ptype = ISDN_PTYPE_EURO; in act2000_alloccard()
Dact2000.h153 u_char ptype; /* Protocol type (1TR6 or Euro) */ member
Dcapi.c214 m->msg.manufacturer_req_net.nettype = (card->ptype == ISDN_PTYPE_EURO)?1:0; in actcapi_manufacturer_req_net()
217 card->interface.id, (card->ptype == ISDN_PTYPE_EURO)?"euro":"1tr6"); in actcapi_manufacturer_req_net()
221 ((card->ptype == ISDN_PTYPE_EURO)?ISDN_FEATURE_P_EURO:ISDN_FEATURE_P_1TR6); in actcapi_manufacturer_req_net()
700 if (card->ptype == ISDN_PTYPE_EURO) in actcapi_dispatch()
/linux-2.4.37.9/net/8021q/
Dvlan.h60 struct packet_type* ptype);
Dvlan_dev.c117 struct packet_type* ptype) in vlan_skb_recv() argument
/linux-2.4.37.9/fs/affs/
Dinode.c57 if (affs_checksum_block(sb, bh) || be32_to_cpu(AFFS_HEAD(bh)->ptype) != T_SHORT) { in affs_read_inode()
60 AFFS_HEAD(bh)->ptype, block); in affs_read_inode()
379 AFFS_HEAD(bh)->ptype = cpu_to_be32(T_SHORT); in affs_add_entry()
Dfile.c172 AFFS_HEAD(new_bh)->ptype = cpu_to_be32(T_LIST); in affs_alloc_extblock()
587 AFFS_DATA_HEAD(bh)->ptype = cpu_to_be32(T_DATA); in affs_extent_file_ofs()
718 AFFS_DATA_HEAD(bh)->ptype = cpu_to_be32(T_DATA); in affs_commit_write_ofs()
750 AFFS_DATA_HEAD(bh)->ptype = cpu_to_be32(T_DATA); in affs_commit_write_ofs()
Dsuper.c310 be32_to_cpu(AFFS_ROOT_HEAD(root_bh)->ptype) == T_SHORT && in affs_read_super()
/linux-2.4.37.9/drivers/isdn/icn/
Dicn.c643 card->ptype = ISDN_PTYPE_1TR6; in icn_polldchan()
649 card->ptype = ISDN_PTYPE_EURO; in icn_polldchan()
1277 while (card->ptype == ISDN_PTYPE_UNKNOWN) { in icn_command()
1391 if (card->ptype == ISDN_PTYPE_EURO) { in icn_command()
1407 if (card->ptype == ISDN_PTYPE_EURO) in icn_command()
1580 card->ptype = ISDN_PTYPE_UNKNOWN; in icn_initcard()
Dicn.h151 int ptype; /* Protocol type (1TR6 or Euro) */ member
/linux-2.4.37.9/net/ipv4/
Darp.c548 struct sk_buff *arp_create(int type, int ptype, u32 dest_ip, in arp_create() argument
580 dev->hard_header(skb,dev,ptype,dest_hw,src_hw,skb->len) < 0) in arp_create()
663 void arp_send(int type, int ptype, u32 dest_ip, in arp_send() argument
677 skb = arp_create(type, ptype, dest_ip, dev, src_ip, in arp_send()
/linux-2.4.37.9/drivers/net/bonding/
Dbond_3ad.h299 int bond_3ad_lacpdu_recv(struct sk_buff *skb, struct net_device *dev, struct packet_type* ptype);
Dbond_alb.c361 static int rlb_arp_recv(struct sk_buff *skb, struct net_device *bond_dev, struct packet_type *ptype) in rlb_arp_recv() argument
/linux-2.4.37.9/drivers/isdn/eicon/
Deicon.h311 u_char ptype; /* Protocol type (1TR6 or Euro) */ member
/linux-2.4.37.9/drivers/net/wan/
Dlapbether.c130 static int lapbeth_rcv(struct sk_buff *skb, struct net_device *dev, struct packet_type *ptype) in lapbeth_rcv() argument
/linux-2.4.37.9/drivers/net/hamradio/
Dbpqether.c212 static int bpq_rcv(struct sk_buff *skb, struct net_device *dev, struct packet_type *ptype) in bpq_rcv() argument
/linux-2.4.37.9/drivers/net/skfp/
Dsmt.c1650 int ptype ; member
2019 if (pd->ptype == type)
/linux-2.4.37.9/net/irda/
Dirlap_frame.c1262 struct packet_type *ptype) in irlap_driver_rcv() argument

12