Searched refs:skb (Results 1 - 25 of 878) sorted by relevance

1234567891011>>

/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/isdn/pcbit/
H A Dcapi.c56 int capi_conn_req(const char * calledPN, struct sk_buff **skb, int proto) argument
81 if ((*skb = dev_alloc_skb(len)) == NULL) {
88 *((ushort*) skb_put(*skb, 2)) = AppInfoMask;
93 *(skb_put(*skb, 1)) = 3; /* BC0.Length */
94 *(skb_put(*skb, 1)) = 0x80; /* Speech */
95 *(skb_put(*skb, 1)) = 0x10; /* Circuit Mode */
96 *(skb_put(*skb, 1)) = 0x23; /* A-law */
101 *(skb_put(*skb, 1)) = 2; /* BC0.Length */
102 *(skb_put(*skb, 1)) = 0x88; /* Digital Information */
103 *(skb_put(*skb,
136 capi_conn_resp(struct pcbit_chan* chan, struct sk_buff **skb) argument
153 capi_conn_active_req(struct pcbit_chan* chan, struct sk_buff **skb) argument
181 capi_conn_active_resp(struct pcbit_chan* chan, struct sk_buff **skb) argument
199 capi_select_proto_req(struct pcbit_chan *chan, struct sk_buff **skb, int outgoing) argument
265 capi_activate_transp_req(struct pcbit_chan *chan, struct sk_buff **skb) argument
287 capi_tdata_req(struct pcbit_chan* chan, struct sk_buff *skb) argument
323 capi_tdata_resp(struct pcbit_chan *chan, struct sk_buff ** skb) argument
340 capi_disc_req(ushort callref, struct sk_buff **skb, u_char cause) argument
364 capi_disc_resp(struct pcbit_chan *chan, struct sk_buff **skb) argument
383 capi_decode_conn_ind(struct pcbit_chan * chan, struct sk_buff *skb, struct callb_data *info) argument
493 capi_decode_conn_conf(struct pcbit_chan * chan, struct sk_buff *skb, int *complete) argument
528 capi_decode_conn_actv_ind(struct pcbit_chan * chan, struct sk_buff *skb) argument
566 capi_decode_conn_actv_conf(struct pcbit_chan * chan, struct sk_buff *skb) argument
580 capi_decode_sel_proto_conf(struct pcbit_chan *chan, struct sk_buff *skb) argument
593 capi_decode_actv_trans_conf(struct pcbit_chan *chan, struct sk_buff *skb) argument
608 capi_decode_disc_ind(struct pcbit_chan *chan, struct sk_buff *skb) argument
631 capi_decode_disc_conf(struct pcbit_chan *chan, struct sk_buff *skb) argument
[all...]
H A Dcapi.h25 extern int capi_decode_conn_conf(struct pcbit_chan * chan, struct sk_buff *skb,
28 extern int capi_decode_conn_ind(struct pcbit_chan * chan, struct sk_buff *skb,
30 extern int capi_conn_resp(struct pcbit_chan* chan, struct sk_buff **skb);
32 extern int capi_conn_active_req(struct pcbit_chan* chan, struct sk_buff **skb);
34 struct sk_buff *skb);
37 struct sk_buff *skb);
39 struct sk_buff **skb);
42 extern int capi_select_proto_req(struct pcbit_chan *chan, struct sk_buff **skb,
45 struct sk_buff *skb);
48 struct sk_buff **skb);
67 capi_channel(struct pcbit_dev *dev, struct sk_buff *skb) argument
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/net/bridge/
H A Dbr_forward.c24 static inline int should_deliver(struct net_bridge_port *p, struct sk_buff *skb) argument
26 if (skb->dev == p->dev ||
33 static int __dev_queue_push_xmit(struct sk_buff *skb) argument
35 skb_push(skb, ETH_HLEN);
36 dev_queue_xmit(skb);
41 static int __br_forward_finish(struct sk_buff *skb) argument
43 NF_HOOK(PF_BRIDGE, NF_BR_POST_ROUTING, skb, NULL, skb->dev,
49 static void __br_deliver(struct net_bridge_port *to, struct sk_buff *skb) argument
51 skb
56 __br_forward(struct net_bridge_port *to, struct sk_buff *skb) argument
68 br_deliver(struct net_bridge_port *to, struct sk_buff *skb) argument
79 br_forward(struct net_bridge_port *to, struct sk_buff *skb) argument
90 br_flood(struct net_bridge *br, struct sk_buff *skb, int clone, void (*__packet_hook)(struct net_bridge_port *p, struct sk_buff *skb)) argument
139 br_flood_deliver(struct net_bridge *br, struct sk_buff *skb, int clone) argument
145 br_flood_forward(struct net_bridge *br, struct sk_buff *skb, int clone) argument
[all...]
H A Dbr_input.c25 static int br_pass_frame_up_finish(struct sk_buff *skb) argument
27 netif_rx(skb);
32 static void br_pass_frame_up(struct net_bridge *br, struct sk_buff *skb) argument
37 br->statistics.rx_bytes += skb->len;
39 indev = skb->dev;
40 skb->dev = &br->dev;
41 skb->pkt_type = PACKET_HOST;
42 skb_push(skb, ETH_HLEN);
43 skb->protocol = eth_type_trans(skb,
49 br_handle_frame_finish(struct sk_buff *skb) argument
115 br_handle_frame(struct sk_buff *skb) argument
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/net/x25/
H A Dx25_dev.c17 * 2000-09-04 Henner Eisen Prevent freeing a dangling skb.
48 static int x25_receive_data(struct sk_buff *skb, struct x25_neigh *neigh) argument
54 frametype = skb->data[2];
55 lci = ((skb->data[0] << 8) & 0xF00) + ((skb->data[1] << 0) & 0x0FF);
62 x25_link_control(skb, neigh, frametype);
72 skb->h.raw = skb->data;
75 queued = x25_process_rx_frame(sk, skb);
77 sk_add_backlog(sk, skb);
101 x25_lapb_receive_frame(struct sk_buff *skb, struct net_device *dev, struct packet_type *ptype) argument
148 x25_llc_receive_frame(struct sk_buff *skb, struct net_device *dev, struct packet_type *ptype) argument
168 struct sk_buff *skb; local
197 struct sk_buff *skb; local
224 x25_send_frame(struct sk_buff *skb, struct x25_neigh *neigh) argument
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/net/ipv4/
H A Dip_input.c156 int ip_call_ra_chain(struct sk_buff *skb) argument
159 u8 protocol = skb->nh.iph->protocol;
171 || (sk->bound_dev_if == skb->dev->ifindex))) {
172 if (skb->nh.iph->frag_off & htons(IP_MF|IP_OFFSET)) {
173 skb = ip_defrag(skb);
174 if (skb == NULL) {
180 struct sk_buff *skb2 = skb_clone(skb, GFP_ATOMIC);
189 raw_rcv(last, skb);
198 static int ip_run_ipprot(struct sk_buff *skb, struc argument
219 ip_local_deliver_finish(struct sk_buff *skb) argument
290 ip_local_deliver(struct sk_buff *skb) argument
306 ip_rcv_finish(struct sk_buff *skb) argument
379 ip_rcv(struct sk_buff *skb, struct net_device *dev, struct packet_type *pt) argument
[all...]
H A Dip_forward.c44 static inline int ip_forward_finish(struct sk_buff *skb) argument
46 struct ip_options * opt = &(IPCB(skb)->opt);
52 struct rtable *rt = (struct rtable*)skb->dst;
58 write_lock_irq(&skb->dev->fastpath_lock);
59 old_dst = skb->dev->fastpath[h];
60 skb->dev->fastpath[h] = dst_clone(&rt->u.dst);
61 write_unlock_irq(&skb->dev->fastpath_lock);
66 return (ip_send(skb));
69 ip_forward_options(skb);
70 return (ip_send(skb));
73 ip_forward(struct sk_buff *skb) argument
[all...]
H A Dtcp_output.c30 * David S. Miller : Charge memory using the right skb
48 void update_send_head(struct sock *sk, struct tcp_opt *tp, struct sk_buff *skb) argument
50 tp->send_head = skb->next;
53 tp->snd_nxt = TCP_SKB_CB(skb)->end_seq;
118 static __inline__ void tcp_event_data_sent(struct tcp_opt *tp, struct sk_buff *skb) argument
189 int tcp_transmit_skb(struct sock *sk, struct sk_buff *skb) argument
191 if(skb != NULL) {
193 struct tcp_skb_cb *tcb = TCP_SKB_CB(skb);
226 th = (struct tcphdr *) skb_push(skb, tcp_header_size);
227 skb
305 tcp_send_skb(struct sock *sk, struct sk_buff *skb, int force_queue, unsigned cur_mss) argument
336 struct sk_buff *skb = tp->send_head; local
353 skb_split(struct sk_buff *skb, struct sk_buff *skb1, u32 len) argument
420 tcp_fragment(struct sock *sk, struct sk_buff *skb, u32 len) argument
556 struct sk_buff *skb; local
690 tcp_retrans_try_collapse(struct sock *sk, struct sk_buff *skb, int mss_now) argument
769 struct sk_buff *skb; local
812 tcp_retransmit_skb(struct sock *sk, struct sk_buff *skb) argument
914 struct sk_buff *skb; local
994 struct sk_buff *skb = skb_peek_tail(&sk->write_queue); local
1038 struct sk_buff *skb; local
1068 struct sk_buff* skb; local
1103 struct sk_buff *skb; local
1350 struct sk_buff *skb; local
1377 struct sk_buff *skb; local
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/net/core/
H A Dskbuff.c19 * Ray VanTassle : Fixed --skb->lock in free
81 * @skb: buffer
88 void skb_over_panic(struct sk_buff *skb, int sz, void *here) argument
91 here, skb->len, sz, skb->dev ? skb->dev->name : "<NULL>");
97 * @skb: buffer
105 void skb_under_panic(struct sk_buff *skb, int sz, void *here) argument
108 here, skb->len, sz, skb
117 struct sk_buff *skb; local
128 skb_head_to_pool(struct sk_buff *skb) argument
166 struct sk_buff *skb; local
226 struct sk_buff *skb = p; local
254 skb_drop_fraglist(struct sk_buff *skb) argument
267 skb_clone_fraglist(struct sk_buff *skb) argument
275 skb_release_data(struct sk_buff *skb) argument
295 kfree_skbmem(struct sk_buff *skb) argument
310 __kfree_skb(struct sk_buff *skb) argument
347 skb_clone(struct sk_buff *skb, int gfp_mask) argument
463 skb_copy(const struct sk_buff *skb, int gfp_mask) argument
491 skb_linearize(struct sk_buff *skb, int gfp_mask) argument
558 pskb_copy(struct sk_buff *skb, int gfp_mask) argument
617 pskb_expand_head(struct sk_buff *skb, int nhead, int ntail, int gfp_mask) argument
667 skb_realloc_headroom(struct sk_buff *skb, unsigned int headroom) argument
705 skb_copy_expand(const struct sk_buff *skb, int newheadroom, int newtailroom, int gfp_mask) argument
739 ___pskb_trim(struct sk_buff *skb, unsigned int len, int realloc) argument
808 __pskb_pull_tail(struct sk_buff *skb, int delta) argument
925 skb_copy_bits(const struct sk_buff *skb, int offset, void *to, int len) argument
1000 skb_checksum(const struct sk_buff *skb, int offset, int len, unsigned int csum) argument
1075 skb_copy_and_csum_bits(const struct sk_buff *skb, int offset, u8 *to, int len, unsigned int csum) argument
1151 skb_copy_and_csum_dev(const struct sk_buff *skb, u8 *to) argument
[all...]
/asus-wl-520gu-7.0.1.45/src/router/iproute2/reference/linux/
H A Dskbuff.h45 * skb->csum is undefined.
48 * skb->csum is undefined.
54 * the packet as seen by netif_rx in skb->csum.
56 * is able to produce some skb->csum, it MUST use HW,
61 * NONE: skb is checksummed by protocol or csum is not required.
64 * from skb->h.raw to the end and to record the checksum
65 * at skb->h.raw+skb->csum.
120 * the end of the header data, ie. at skb->end.
174 * first. This is owned by whoever has the skb queue
270 skb_get(struct sk_buff *skb) argument
289 kfree_skb(struct sk_buff *skb) argument
296 kfree_skb_fast(struct sk_buff *skb) argument
311 skb_cloned(struct sk_buff *skb) argument
324 skb_shared(struct sk_buff *skb) argument
343 skb_share_check(struct sk_buff *skb, int pri) argument
376 skb_unshare(struct sk_buff *skb, int pri) argument
669 __skb_unlink(struct sk_buff *skb, struct sk_buff_head *list) argument
696 skb_unlink(struct sk_buff *skb) argument
722 struct sk_buff *skb = skb_peek_tail(list); local
748 skb_is_nonlinear(const struct sk_buff *skb) argument
753 skb_headlen(const struct sk_buff *skb) argument
766 __skb_put(struct sk_buff *skb, unsigned int len) argument
785 skb_put(struct sk_buff *skb, unsigned int len) argument
797 __skb_push(struct sk_buff *skb, unsigned int len) argument
814 skb_push(struct sk_buff *skb, unsigned int len) argument
824 __skb_pull(struct sk_buff *skb, unsigned int len) argument
843 skb_pull(struct sk_buff *skb, unsigned int len) argument
852 __pskb_pull(struct sk_buff *skb, unsigned int len) argument
861 pskb_pull(struct sk_buff *skb, unsigned int len) argument
868 pskb_may_pull(struct sk_buff *skb, unsigned int len) argument
884 skb_headroom(const struct sk_buff *skb) argument
896 skb_tailroom(const struct sk_buff *skb) argument
910 skb_reserve(struct sk_buff *skb, unsigned int len) argument
918 __skb_trim(struct sk_buff *skb, unsigned int len) argument
937 skb_trim(struct sk_buff *skb, unsigned int len) argument
945 __pskb_trim(struct sk_buff *skb, unsigned int len) argument
956 pskb_trim(struct sk_buff *skb, unsigned int len) argument
973 skb_orphan(struct sk_buff *skb) argument
993 struct sk_buff *skb; local
1010 struct sk_buff *skb; local
1031 struct sk_buff *skb; local
1071 skb_cow(struct sk_buff *skb, unsigned int headroom) argument
[all...]
H A Dfddidevice.h28 extern int fddi_header(struct sk_buff *skb,
34 extern int fddi_rebuild_header(struct sk_buff *skb);
35 extern unsigned short fddi_type_trans(struct sk_buff *skb,
H A Dif_vlan.h79 * ((skb->priority << 13) & 0xE000)
86 /** This will be the mapping that correlates skb->priority to
95 * ingress to make the skb look **exactly** like it
97 * the VLAN information in the skb, but it fixes programs
110 unsigned long cnt_inc_headroom_on_tx; /* How many times did we have to grow the skb on TX. */
111 unsigned long cnt_encap_on_xmit; /* How many times did we have to encapsulate the skb on TX. */
145 static inline int __vlan_hwaccel_rx(struct sk_buff *skb, argument
151 skb->dev = grp->vlan_devices[vlan_tag & VLAN_VID_MASK];
152 if (skb->dev == NULL) {
153 kfree_skb(skb);
189 vlan_hwaccel_rx(struct sk_buff *skb, struct vlan_group *grp, unsigned short vlan_tag) argument
196 vlan_hwaccel_receive_skb(struct sk_buff *skb, struct vlan_group *grp, unsigned short vlan_tag) argument
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/include/linux/
H A Dskbuff.h45 * skb->csum is undefined.
48 * skb->csum is undefined.
54 * the packet as seen by netif_rx in skb->csum.
56 * is able to produce some skb->csum, it MUST use HW,
61 * NONE: skb is checksummed by protocol or csum is not required.
64 * from skb->h.raw to the end and to record the checksum
65 * at skb->h.raw+skb->csum.
120 * the end of the header data, ie. at skb->end.
174 * first. This is owned by whoever has the skb queue
270 skb_get(struct sk_buff *skb) argument
289 kfree_skb(struct sk_buff *skb) argument
296 kfree_skb_fast(struct sk_buff *skb) argument
311 skb_cloned(struct sk_buff *skb) argument
324 skb_shared(struct sk_buff *skb) argument
343 skb_share_check(struct sk_buff *skb, int pri) argument
376 skb_unshare(struct sk_buff *skb, int pri) argument
669 __skb_unlink(struct sk_buff *skb, struct sk_buff_head *list) argument
696 skb_unlink(struct sk_buff *skb) argument
722 struct sk_buff *skb = skb_peek_tail(list); local
748 skb_is_nonlinear(const struct sk_buff *skb) argument
753 skb_headlen(const struct sk_buff *skb) argument
766 __skb_put(struct sk_buff *skb, unsigned int len) argument
785 skb_put(struct sk_buff *skb, unsigned int len) argument
797 __skb_push(struct sk_buff *skb, unsigned int len) argument
814 skb_push(struct sk_buff *skb, unsigned int len) argument
824 __skb_pull(struct sk_buff *skb, unsigned int len) argument
843 skb_pull(struct sk_buff *skb, unsigned int len) argument
852 __pskb_pull(struct sk_buff *skb, unsigned int len) argument
861 pskb_pull(struct sk_buff *skb, unsigned int len) argument
868 pskb_may_pull(struct sk_buff *skb, unsigned int len) argument
884 skb_headroom(const struct sk_buff *skb) argument
896 skb_tailroom(const struct sk_buff *skb) argument
910 skb_reserve(struct sk_buff *skb, unsigned int len) argument
918 __skb_trim(struct sk_buff *skb, unsigned int len) argument
937 skb_trim(struct sk_buff *skb, unsigned int len) argument
945 __pskb_trim(struct sk_buff *skb, unsigned int len) argument
956 pskb_trim(struct sk_buff *skb, unsigned int len) argument
973 skb_orphan(struct sk_buff *skb) argument
993 struct sk_buff *skb; local
1010 struct sk_buff *skb; local
1031 struct sk_buff *skb; local
1071 skb_cow(struct sk_buff *skb, unsigned int headroom) argument
[all...]
H A Dfddidevice.h28 extern int fddi_header(struct sk_buff *skb,
34 extern int fddi_rebuild_header(struct sk_buff *skb);
35 extern unsigned short fddi_type_trans(struct sk_buff *skb,
H A Dif_vlan.h79 * ((skb->priority << 13) & 0xE000)
86 /** This will be the mapping that correlates skb->priority to
95 * ingress to make the skb look **exactly** like it
97 * the VLAN information in the skb, but it fixes programs
110 unsigned long cnt_inc_headroom_on_tx; /* How many times did we have to grow the skb on TX. */
111 unsigned long cnt_encap_on_xmit; /* How many times did we have to encapsulate the skb on TX. */
145 static inline int __vlan_hwaccel_rx(struct sk_buff *skb, argument
151 skb->dev = grp->vlan_devices[vlan_tag & VLAN_VID_MASK];
152 if (skb->dev == NULL) {
153 kfree_skb(skb);
189 vlan_hwaccel_rx(struct sk_buff *skb, struct vlan_group *grp, unsigned short vlan_tag) argument
196 vlan_hwaccel_receive_skb(struct sk_buff *skb, struct vlan_group *grp, unsigned short vlan_tag) argument
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/net/rose/
H A Drose_loopback.c42 int rose_loopback_queue(struct sk_buff *skb, struct rose_neigh *neigh) argument
46 skbn = skb_clone(skb, GFP_ATOMIC);
48 kfree_skb(skb);
75 struct sk_buff *skb; local
82 while ((skb = skb_dequeue(&loopback_queue)) != NULL) {
83 lci_i = ((skb->data[0] << 8) & 0xF00) + ((skb->data[1] << 0) & 0x0FF);
84 frametype = skb->data[2];
85 dest = (rose_address *)(skb->data + 4);
88 skb
111 struct sk_buff *skb; local
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/net/ipv6/
H A Dip6_input.c45 static inline int ip6_rcv_finish( struct sk_buff *skb) argument
47 if (skb->dst == NULL)
48 ip6_route_input(skb);
50 return skb->dst->input(skb);
53 int ipv6_rcv(struct sk_buff *skb, struct net_device *dev, struct packet_type *pt) argument
58 if (skb->pkt_type == PACKET_OTHERHOST)
63 if ((skb = skb_share_check(skb, GFP_ATOMIC)) == NULL)
67 be queued, we cannot refer to skb
122 ip6_input_finish(struct sk_buff *skb) argument
210 ip6_input(struct sk_buff *skb) argument
215 ip6_mc_input(struct sk_buff *skb) argument
[all...]
H A Dexthdrs.c49 * Parsing function "func" returns offset wrt skb->nh of the place,
51 * failed. It should also update skb->h tp point at the next header.
65 * It MUST NOT touch skb->h.
80 int ip6_tlvopt_unknown(struct sk_buff *skb, int optoff) argument
82 switch ((skb->nh.raw[optoff] & 0xC0) >> 6) {
93 if (ipv6_addr_is_multicast(&skb->nh.ipv6h->daddr))
96 icmpv6_param_prob(skb, ICMPV6_UNK_OPTION, optoff);
100 kfree_skb(skb);
106 static int ip6_parse_tlv(struct tlvtype_proc *procs, struct sk_buff *skb) argument
109 int off = skb
169 struct sk_buff *skb=*skb_ptr; local
204 struct sk_buff *skb = *skb_ptr; local
398 struct sk_buff *skb=*skb_ptr; local
465 ipv6_hop_ra(struct sk_buff *skb, int optoff) argument
479 ipv6_hop_jumbo(struct sk_buff *skb, int optoff) argument
521 ipv6_parse_hopopts(struct sk_buff *skb, int nhoff) argument
539 ipv6_build_rthdr(struct sk_buff *skb, u8 *prev_hdr, struct ipv6_rt_hdr *opt, struct in6_addr *addr) argument
563 ipv6_build_exthdr(struct sk_buff *skb, u8 *prev_hdr, u8 type, struct ipv6_opt_hdr *opt) argument
573 ipv6_build_authhdr(struct sk_buff *skb, u8 *prev_hdr, struct ipv6_opt_hdr *opt) argument
584 ipv6_build_nfrag_opts(struct sk_buff *skb, u8 *prev_hdr, struct ipv6_txoptions *opt, struct in6_addr *daddr, u32 jumbolen) argument
620 ipv6_build_frag_opts(struct sk_buff *skb, u8 *prev_hdr, struct ipv6_txoptions *opt) argument
629 ipv6_push_rthdr(struct sk_buff *skb, u8 *proto, struct ipv6_rt_hdr *opt, struct in6_addr **addr_p) argument
654 ipv6_push_exthdr(struct sk_buff *skb, u8 *proto, u8 type, struct ipv6_opt_hdr *opt) argument
663 ipv6_push_authhdr(struct sk_buff *skb, u8 *proto, struct ipv6_opt_hdr *opt) argument
672 ipv6_push_nfrag_opts(struct sk_buff *skb, struct ipv6_txoptions *opt, u8 *proto, struct in6_addr **daddr) argument
684 ipv6_push_frag_opts(struct sk_buff *skb, struct ipv6_txoptions *opt, u8 *proto) argument
775 ipv6_skip_exthdr(struct sk_buff *skb, int start, u8 *nexthdrp, int len) argument
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/net/lapb/
H A Dlapb_subr.c52 struct sk_buff *skb; local
62 skb = skb_dequeue(&lapb->ack_queue);
63 kfree_skb(skb);
71 struct sk_buff *skb, *skb_prev = NULL; local
78 while ((skb = skb_dequeue(&lapb->ack_queue)) != NULL) {
80 skb_queue_head(&lapb->write_queue, skb);
82 skb_append(skb_prev, skb);
83 skb_prev = skb;
112 void lapb_decode(lapb_cb *lapb, struct sk_buff *skb, struct lapb_frame *frame) argument
117 printk(KERN_DEBUG "lapb: (%p) S%d RX %02X %02X %02X\n", lapb->token, lapb->state, skb
200 struct sk_buff *skb; local
236 struct sk_buff *skb; local
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/net/ax25/
H A Dax25_in.c39 * Thomas(DL9SAU) Fixed missing initialization of skb->protocol.
71 static int ax25_rx_fragment(ax25_cb *ax25, struct sk_buff *skb) argument
76 if (!(*skb->data & AX25_SEG_FIRST)) {
77 if ((ax25->fragno - 1) == (*skb->data & AX25_SEG_REM)) {
79 ax25->fragno = *skb->data & AX25_SEG_REM;
80 skb_pull(skb, 1); /* skip fragno */
81 ax25->fraglen += skb->len;
82 skb_queue_tail(&ax25->frag_queue, skb);
117 if (*skb->data & AX25_SEG_FIRST) {
119 ax25->fragno = *skb
134 ax25_rx_iframe(ax25_cb *ax25, struct sk_buff *skb) argument
193 ax25_process_rx_frame(ax25_cb *ax25, struct sk_buff *skb, int type, int dama) argument
219 ax25_rcv(struct sk_buff *skb, struct net_device *dev, ax25_address *dev_addr, struct packet_type *ptype) argument
473 ax25_kiss_rcv(struct sk_buff *skb, struct net_device *dev, struct packet_type *ptype) argument
[all...]
H A Dax25_out.c60 ax25_cb *ax25_send_frame(struct sk_buff *skb, int paclen, ax25_address *src, ax25_address *dest, ax25_digi *digi, struct net_device *dev) argument
80 ax25_output(ax25, paclen, skb);
125 ax25_output(ax25, paclen, skb);
136 void ax25_output(ax25_cb *ax25, int paclen, struct sk_buff *skb) argument
143 if ((skb->len - 1) > paclen) {
144 if (*skb->data == AX25_P_TEXT) {
145 skb_pull(skb, 1); /* skip PID */
152 fragno = skb->len / paclen;
153 if (skb->len % paclen == 0) fragno--;
155 frontlen = skb_headroom(skb); /* Addres
226 ax25_send_iframe(ax25_cb *ax25, struct sk_buff *skb, int poll_bit) argument
258 struct sk_buff *skb, *skbn; local
338 ax25_transmit_buffer(ax25_cb *ax25, struct sk_buff *skb, int type) argument
378 ax25_queue_xmit(struct sk_buff *skb) argument
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/net/irda/ircomm/
H A Dircomm_event.c45 struct sk_buff *skb, struct ircomm_info *info);
47 struct sk_buff *skb, struct ircomm_info *info);
49 struct sk_buff *skb, struct ircomm_info *info);
51 struct sk_buff *skb, struct ircomm_info *info);
80 struct sk_buff *skb, struct ircomm_info *info) =
89 * Function ircomm_state_idle (self, event, skb)
95 struct sk_buff *skb, struct ircomm_info *info)
102 ret = self->issue.connect_request(self, skb, info);
107 ircomm_connect_indication(self, skb, info);
112 if (skb)
94 ircomm_state_idle(struct ircomm_cb *self, IRCOMM_EVENT event, struct sk_buff *skb, struct ircomm_info *info) argument
125 ircomm_state_waiti(struct ircomm_cb *self, IRCOMM_EVENT event, struct sk_buff *skb, struct ircomm_info *info) argument
157 ircomm_state_waitr(struct ircomm_cb *self, IRCOMM_EVENT event, struct sk_buff *skb, struct ircomm_info *info) argument
192 ircomm_state_conn(struct ircomm_cb *self, IRCOMM_EVENT event, struct sk_buff *skb, struct ircomm_info *info) argument
236 ircomm_do_event(struct ircomm_cb *self, IRCOMM_EVENT event, struct sk_buff *skb, struct ircomm_info *info) argument
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/net/irda/
H A Dirlap_frame.c47 * Function irlap_insert_info (self, skb)
49 * Insert minimum turnaround time and speed information into the skb. We
54 struct sk_buff *skb)
56 struct irda_skb_cb *cb = (struct irda_skb_cb *) skb->cb;
59 * Insert MTT (min. turn time) and speed into skb, so that the
84 * Function irlap_queue_xmit (self, skb)
89 void irlap_queue_xmit(struct irlap_cb *self, struct sk_buff *skb) argument
92 skb->dev = self->netdev;
93 skb->h.raw = skb
53 irlap_insert_info(struct irlap_cb *self, struct sk_buff *skb) argument
109 struct sk_buff *skb; local
157 irlap_recv_snrm_cmd(struct irlap_cb *self, struct sk_buff *skb, struct irlap_info *info) argument
199 struct sk_buff *skb; local
245 struct sk_buff *skb = NULL; local
275 struct sk_buff *skb = NULL; local
304 struct sk_buff *skb = NULL; local
392 irlap_recv_discovery_xid_rsp(struct irlap_cb *self, struct sk_buff *skb, struct irlap_info *info) argument
463 irlap_recv_discovery_xid_cmd(struct irlap_cb *self, struct sk_buff *skb, struct irlap_info *info) argument
562 struct sk_buff *skb; local
587 struct sk_buff *skb; local
609 irlap_recv_rr_frame(struct irlap_cb *self, struct sk_buff *skb, struct irlap_info *info, int command) argument
624 struct sk_buff *skb = NULL; local
656 irlap_recv_rnr_frame(struct irlap_cb *self, struct sk_buff *skb, struct irlap_info *info, int command) argument
669 irlap_recv_rej_frame(struct irlap_cb *self, struct sk_buff *skb, struct irlap_info *info, int command) argument
683 irlap_recv_srej_frame(struct irlap_cb *self, struct sk_buff *skb, struct irlap_info *info, int command) argument
697 irlap_recv_disc_frame(struct irlap_cb *self, struct sk_buff *skb, struct irlap_info *info, int command) argument
715 irlap_recv_ua_frame(struct irlap_cb *self, struct sk_buff *skb, struct irlap_info *info) argument
728 irlap_send_data_primary(struct irlap_cb *self, struct sk_buff *skb) argument
767 irlap_send_data_primary_poll(struct irlap_cb *self, struct sk_buff *skb) argument
833 irlap_send_data_secondary_final(struct irlap_cb *self, struct sk_buff *skb) argument
891 irlap_send_data_secondary(struct irlap_cb *self, struct sk_buff *skb) argument
933 struct sk_buff *skb; local
989 struct sk_buff *skb; local
1031 irlap_send_ui_frame(struct irlap_cb *self, struct sk_buff *skb, __u8 caddr, int command) argument
1051 irlap_send_i_frame(struct irlap_cb *self, struct sk_buff *skb, int command) argument
1070 irlap_recv_i_frame(struct irlap_cb *self, struct sk_buff *skb, struct irlap_info *info, int command) argument
1091 irlap_recv_ui_frame(struct irlap_cb *self, struct sk_buff *skb, struct irlap_info *info) argument
1107 irlap_recv_frmr_frame(struct irlap_cb *self, struct sk_buff *skb, struct irlap_info *info) argument
1160 struct sk_buff *skb; local
1197 irlap_recv_test_frame(struct irlap_cb *self, struct sk_buff *skb, struct irlap_info *info, int command) argument
1238 irlap_driver_rcv(struct sk_buff *skb, struct net_device *dev, struct packet_type *ptype) argument
[all...]
H A Diriap_event.c32 struct sk_buff *skb);
34 struct sk_buff *skb);
36 struct sk_buff *skb);
39 struct sk_buff *skb);
41 struct sk_buff *skb);
43 struct sk_buff *skb);
45 struct sk_buff *skb);
47 struct sk_buff *skb);
49 struct sk_buff *skb);
52 struct sk_buff *skb);
125 iriap_do_client_event(struct iriap_cb *self, IRIAP_EVENT event, struct sk_buff *skb) argument
134 iriap_do_call_event(struct iriap_cb *self, IRIAP_EVENT event, struct sk_buff *skb) argument
143 iriap_do_server_event(struct iriap_cb *self, IRIAP_EVENT event, struct sk_buff *skb) argument
152 iriap_do_r_connect_event(struct iriap_cb *self, IRIAP_EVENT event, struct sk_buff *skb) argument
168 state_s_disconnect(struct iriap_cb *self, IRIAP_EVENT event, struct sk_buff *skb) argument
195 state_s_connecting(struct iriap_cb *self, IRIAP_EVENT event, struct sk_buff *skb) argument
228 state_s_call(struct iriap_cb *self, IRIAP_EVENT event, struct sk_buff *skb) argument
251 state_s_make_call(struct iriap_cb *self, IRIAP_EVENT event, struct sk_buff *skb) argument
278 state_s_calling(struct iriap_cb *self, IRIAP_EVENT event, struct sk_buff *skb) argument
290 state_s_outstanding(struct iriap_cb *self, IRIAP_EVENT event, struct sk_buff *skb) argument
313 state_s_replying(struct iriap_cb *self, IRIAP_EVENT event, struct sk_buff *skb) argument
325 state_s_wait_for_call(struct iriap_cb *self, IRIAP_EVENT event, struct sk_buff *skb) argument
338 state_s_wait_active(struct iriap_cb *self, IRIAP_EVENT event, struct sk_buff *skb) argument
356 state_r_disconnect(struct iriap_cb *self, IRIAP_EVENT event, struct sk_buff *skb) argument
399 state_r_call(struct iriap_cb *self, IRIAP_EVENT event, struct sk_buff *skb) argument
426 state_r_waiting(struct iriap_cb *self, IRIAP_EVENT event, struct sk_buff *skb) argument
432 state_r_wait_active(struct iriap_cb *self, IRIAP_EVENT event, struct sk_buff *skb) argument
444 state_r_receiving(struct iriap_cb *self, IRIAP_EVENT event, struct sk_buff *skb) argument
468 state_r_execute(struct iriap_cb *self, IRIAP_EVENT event, struct sk_buff *skb) argument
496 state_r_returning(struct iriap_cb *self, IRIAP_EVENT event, struct sk_buff *skb) argument
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/net/netrom/
H A Dnr_loopback.c43 int nr_loopback_queue(struct sk_buff *skb) argument
47 if ((skbn = alloc_skb(skb->len, GFP_ATOMIC)) != NULL) {
48 memcpy(skb_put(skbn, skb->len), skb->data, skb->len);
57 kfree_skb(skb);
76 struct sk_buff *skb; local
80 if ((skb = skb_dequeue(&loopback_queue)) != NULL) {
81 nr_dest = (ax25_address *)(skb->data + 7);
85 if (dev == NULL || nr_rx_frame(skb, de
[all...]

Completed in 274 milliseconds

1234567891011>>