Searched refs:skb (Results 176 - 200 of 1831) sorted by relevance

1234567891011>>

/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/net/ax25/
H A Dax25_subr.c52 struct sk_buff *skb; local
59 skb = skb_dequeue(&ax25->ack_queue);
60 kfree_skb(skb);
68 struct sk_buff *skb; local
75 while ((skb = skb_dequeue_tail(&ax25->ack_queue)) != NULL)
76 skb_queue_head(&ax25->write_queue, skb);
101 int ax25_decode(ax25_cb *ax25, struct sk_buff *skb, int *ns, int *nr, int *pf) argument
106 frame = skb->data;
123 skb_pull(skb, 1);
130 skb_pull(skb,
153 struct sk_buff *skb; local
193 struct sk_buff *skb; local
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/include/net/irda/
H A Dirlan_provider.h37 struct sk_buff *skb);
42 int irlan_parse_open_data_cmd(struct irlan_cb *self, struct sk_buff *skb);
44 struct sk_buff *skb);
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/include/linux/
H A Dhdlc.h35 __be16 (*type_trans)(struct sk_buff *skb, struct net_device *dev);
36 int (*netif_rx)(struct sk_buff *skb);
37 netdev_tx_t (*xmit)(struct sk_buff *skb, struct net_device *dev);
50 netdev_tx_t (*xmit)(struct sk_buff *skb, struct net_device *dev);
83 static __inline__ void debug_frame(const struct sk_buff *skb) argument
87 for (i=0; i < skb->len; i++) {
92 printk(" %02X", skb->data[i]);
105 netdev_tx_t hdlc_start_xmit(struct sk_buff *skb, struct net_device *dev);
112 static __inline__ __be16 hdlc_type_trans(struct sk_buff *skb, argument
117 skb
[all...]
H A Dnetfilter.h105 struct sk_buff *skb,
165 int nf_hook_slow(u_int8_t pf, unsigned int hook, struct sk_buff *skb,
177 struct sk_buff *skb,
186 return nf_hook_slow(pf, hook, skb, indev, outdev, okfn, thresh);
189 static inline int nf_hook(u_int8_t pf, unsigned int hook, struct sk_buff *skb, argument
193 return nf_hook_thresh(pf, hook, skb, indev, outdev, okfn, INT_MIN);
214 NF_HOOK_THRESH(uint8_t pf, unsigned int hook, struct sk_buff *skb, argument
218 int ret = nf_hook_thresh(pf, hook, skb, in, out, okfn, thresh);
220 ret = okfn(skb);
225 NF_HOOK_COND(uint8_t pf, unsigned int hook, struct sk_buff *skb, argument
176 nf_hook_thresh(u_int8_t pf, unsigned int hook, struct sk_buff *skb, struct net_device *indev, struct net_device *outdev, int (*okfn)(struct sk_buff *), int thresh) argument
238 NF_HOOK(uint8_t pf, unsigned int hook, struct sk_buff *skb, struct net_device *in, struct net_device *out, int (*okfn)(struct sk_buff *)) argument
289 nf_checksum(struct sk_buff *skb, unsigned int hook, unsigned int dataoff, u_int8_t protocol, unsigned short family) argument
304 nf_checksum_partial(struct sk_buff *skb, unsigned int hook, unsigned int dataoff, unsigned int len, u_int8_t protocol, unsigned short family) argument
327 nf_nat_decode_session(struct sk_buff *skb, struct flowi *fl, u_int8_t family) argument
350 nf_hook_thresh(u_int8_t pf, unsigned int hook, struct sk_buff *skb, struct net_device *indev, struct net_device *outdev, int (*okfn)(struct sk_buff *), int thresh) argument
358 nf_hook(u_int8_t pf, unsigned int hook, struct sk_buff *skb, struct net_device *indev, struct net_device *outdev, int (*okfn)(struct sk_buff *)) argument
366 nf_nat_decode_session(struct sk_buff *skb, struct flowi *fl, u_int8_t family) argument
376 nf_ct_attach(struct sk_buff *new, struct sk_buff *skb) argument
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/net/core/
H A Ddatagram.c59 #include <trace/events/skb.h>
144 * This function will lock the socket if a skb is returned, so the caller
163 struct sk_buff *skb; local
185 skb = skb_peek(&sk->sk_receive_queue);
186 if (skb) {
187 *peeked = skb->peeked;
189 skb->peeked = 1;
190 atomic_inc(&skb->users);
192 __skb_unlink(skb, &sk->sk_receive_queue);
196 if (skb)
224 skb_free_datagram(struct sock *sk, struct sk_buff *skb) argument
231 skb_free_datagram_locked(struct sock *sk, struct sk_buff *skb) argument
271 skb_kill_datagram(struct sock *sk, struct sk_buff *skb, unsigned int flags) argument
303 skb_copy_datagram_iovec(const struct sk_buff *skb, int offset, struct iovec *to, int len) argument
389 skb_copy_datagram_const_iovec(const struct sk_buff *skb, int offset, const struct iovec *to, int to_offset, int len) argument
478 skb_copy_datagram_from_iovec(struct sk_buff *skb, int offset, const struct iovec *from, int from_offset, int len) argument
560 skb_copy_and_csum_datagram(const struct sk_buff *skb, int offset, u8 __user *to, int len, __wsum *csump) argument
649 __skb_checksum_complete_head(struct sk_buff *skb, int len) argument
663 __skb_checksum_complete(struct sk_buff *skb) argument
682 skb_copy_and_csum_datagram_iovec(struct sk_buff *skb, int hlen, struct iovec *iov) argument
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/net/rxrpc/
H A Dar-input.c44 int rxrpc_queue_rcv_skb(struct rxrpc_call *call, struct sk_buff *skb, argument
56 sp = rxrpc_skb(skb);
64 skb->destructor = NULL;
67 rxrpc_free_skb(skb);
74 /* cast skb->rcvbuf to unsigned... It's pointless, but
78 // if (atomic_read(&sk->sk_rmem_alloc) + skb->truesize >=
82 ret = sk_filter(sk, skb);
91 skb->destructor = rxrpc_packet_destructor;
92 skb->dev = NULL;
93 skb
143 rxrpc_fast_process_data(struct rxrpc_call *call, struct sk_buff *skb, u32 seq) argument
319 rxrpc_fast_process_packet(struct rxrpc_call *call, struct sk_buff *skb) argument
518 rxrpc_post_packet_to_call(struct rxrpc_connection *conn, struct sk_buff *skb) argument
646 rxrpc_post_packet_to_conn(struct rxrpc_connection *conn, struct sk_buff *skb) argument
667 struct sk_buff *skb; local
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/net/bluetooth/cmtp/
H A Dcapi.c135 static void cmtp_send_capimsg(struct cmtp_session *session, struct sk_buff *skb) argument
137 struct cmtp_scb *scb = (void *) skb->cb;
139 BT_DBG("session %p skb %p len %d", session, skb, skb->len);
142 scb->data = (CAPIMSG_COMMAND(skb->data) == CAPI_DATA_B3);
144 skb_queue_tail(&session->transmit, skb);
153 struct sk_buff *skb; local
158 if (!(skb = alloc_skb(CAPI_MSG_BASELEN + 6 + len, GFP_ATOMIC))) {
163 s = skb_put(skb, CAPI_MSG_BASELE
184 cmtp_recv_interopmsg(struct cmtp_session *session, struct sk_buff *skb) argument
323 cmtp_recv_capimsg(struct cmtp_session *session, struct sk_buff *skb) argument
485 cmtp_send_message(struct capi_ctr *ctrl, struct sk_buff *skb) argument
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/net/xfrm/
H A Dxfrm_ipcomp.c42 static int ipcomp_decompress(struct xfrm_state *x, struct sk_buff *skb) argument
45 const int plen = skb->len;
47 const u8 *start = skb->data;
63 if (len > skb_tailroom(skb))
64 len = skb_tailroom(skb);
66 __skb_put(skb, len);
69 skb_copy_to_linear_data(skb, scratch, len);
75 if (WARN_ON(skb_shinfo(skb)->nr_frags >= MAX_SKB_FRAGS))
78 frag = skb_shinfo(skb)->frags + skb_shinfo(skb)
107 ipcomp_input(struct xfrm_state *x, struct sk_buff *skb) argument
135 ipcomp_compress(struct xfrm_state *x, struct sk_buff *skb) argument
168 ipcomp_output(struct xfrm_state *x, struct sk_buff *skb) argument
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/net/mac80211/
H A Dtx.c50 struct ieee80211_tx_info *info = IEEE80211_SKB_CB(tx->skb);
82 hdr = (struct ieee80211_hdr *)tx->skb->data;
220 && skb_get_queue_mapping(tx->skb) == 0)
240 struct ieee80211_hdr *hdr = (struct ieee80211_hdr *)tx->skb->data;
241 struct ieee80211_tx_info *info = IEEE80211_SKB_CB(tx->skb);
306 struct sk_buff *skb; local
320 skb = skb_dequeue(&ap->ps_bc_buf);
321 if (skb) {
323 dev_kfree_skb(skb);
329 skb
397 ieee80211_use_mfp(__le16 fc, struct sta_info *sta, struct sk_buff *skb) argument
790 ieee80211_fragment(struct ieee80211_local *local, struct sk_buff *skb, int hdrlen, int frag_threshold) argument
838 struct sk_buff *skb = tx->skb; local
910 struct sk_buff *skb = tx->skb; local
949 struct sk_buff *skb = tx->skb; local
974 __ieee80211_parse_tx_radiotap(struct ieee80211_tx_data *tx, struct sk_buff *skb) argument
1062 ieee80211_tx_prep_agg(struct ieee80211_tx_data *tx, struct sk_buff *skb, struct ieee80211_tx_info *info, struct tid_ampdu_tx *tid_tx, int tid) argument
1119 ieee80211_tx_prepare(struct ieee80211_sub_if_data *sdata, struct ieee80211_tx_data *tx, struct sk_buff *skb) argument
1231 struct sk_buff *skb = *skbp, *next; local
1306 struct sk_buff *skb = tx->skb; local
1355 ieee80211_tx(struct ieee80211_sub_if_data *sdata, struct sk_buff *skb, bool txpending) argument
1464 ieee80211_skb_resize(struct ieee80211_local *local, struct sk_buff *skb, int head_need, bool may_encrypt) argument
1503 ieee80211_xmit(struct ieee80211_sub_if_data *sdata, struct sk_buff *skb) argument
1583 ieee80211_monitor_start_xmit(struct sk_buff *skb, struct net_device *dev) argument
1647 ieee80211_xmit(IEEE80211_DEV_TO_SUB_IF(dev), skb); local
1670 ieee80211_subif_start_xmit(struct sk_buff *skb, struct net_device *dev) argument
1993 ieee80211_tx_pending_skb(struct ieee80211_local *local, struct sk_buff *skb) argument
2043 struct sk_buff *skb = __skb_dequeue(&local->pending[i]); local
2075 ieee80211_beacon_add_tim(struct ieee80211_if_ap *bss, struct sk_buff *skb, struct beacon_data *beacon) argument
2142 struct sk_buff *skb = NULL; local
2295 struct sk_buff *skb; local
2335 struct sk_buff *skb; local
2374 struct sk_buff *skb; local
2452 struct sk_buff *skb = NULL; local
2509 ieee80211_tx_skb(struct ieee80211_sub_if_data *sdata, struct sk_buff *skb) argument
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/atm/
H A Dsolos-pci.c100 #define SKB_CB(skb) ((struct solos_skb_cb *)skb->cb)
162 static void fpga_queue(struct solos_card *card, int port, struct sk_buff *skb,
175 static inline void solos_pop(struct atm_vcc *vcc, struct sk_buff *skb) argument
178 vcc->pop(vcc, skb);
180 dev_kfree_skb_any(skb);
189 struct sk_buff *skb; local
195 skb = alloc_skb(sizeof(*header) + buflen, GFP_KERNEL);
196 if (!skb) {
201 header = (void *)skb_put(skb, sizeo
244 struct sk_buff *skb; local
313 next_string(struct sk_buff *skb) argument
341 process_status(struct solos_card *card, int port, struct sk_buff *skb) argument
409 process_command(struct solos_card *card, int port, struct sk_buff *skb) argument
446 struct sk_buff *skb; local
465 struct sk_buff *skb; local
660 struct sk_buff *skb; local
751 struct sk_buff *skb = alloc_skb(RX_DMA_SIZE, GFP_ATOMIC); local
859 struct sk_buff *skb; local
893 struct sk_buff *skb; local
949 fpga_queue(struct solos_card *card, int port, struct sk_buff *skb, struct atm_vcc *vcc) argument
974 struct sk_buff *skb; local
1043 psend(struct atm_vcc *vcc, struct sk_buff *skb) argument
1233 struct sk_buff *skb; local
1282 struct sk_buff *skb; local
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/net/sched/
H A Dact_api.c77 static int tcf_dump_walker(struct sk_buff *skb, struct netlink_callback *cb, argument
98 nest = nla_nest_start(skb, a->order);
101 err = tcf_action_dump_1(skb, a, 0, 0);
104 nlmsg_trim(skb, nest);
107 nla_nest_end(skb, nest);
120 nla_nest_cancel(skb, nest);
124 static int tcf_del_walker(struct sk_buff *skb, struct tc_action *a, argument
131 nest = nla_nest_start(skb, a->order);
134 NLA_PUT_STRING(skb, TCA_KIND, a->ops->kind);
146 NLA_PUT_U32(skb, TCA_FCN
155 tcf_generic_walker(struct sk_buff *skb, struct netlink_callback *cb, int type, struct tc_action *a) argument
351 tcf_action_exec(struct sk_buff *skb, struct tc_action *act, struct tcf_result *res) argument
402 tcf_action_dump_old(struct sk_buff *skb, struct tc_action *a, int bind, int ref) argument
412 tcf_action_dump_1(struct sk_buff *skb, struct tc_action *a, int bind, int ref) argument
439 tcf_action_dump(struct sk_buff *skb, struct tc_action *act, int bind, int ref) argument
578 tcf_action_copy_stats(struct sk_buff *skb, struct tc_action *a, int compat_mode) argument
624 tca_get_fill(struct sk_buff *skb, struct tc_action *a, u32 pid, u32 seq, u16 flags, int event, int bind, int ref) argument
661 struct sk_buff *skb; local
744 struct sk_buff *skb; local
854 struct sk_buff *skb; local
887 struct sk_buff *skb; local
957 tc_ctl_action(struct sk_buff *skb, struct nlmsghdr *n, void *arg) argument
1034 tc_dump_action(struct sk_buff *skb, struct netlink_callback *cb) argument
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/scsi/cxgb3i/
H A Dcxgb3i_offload.c257 static void make_act_open_req(struct s3_conn *c3cn, struct sk_buff *skb, argument
264 skb->priority = CPL_PRIORITY_SETUP;
265 req = (struct cpl_act_open_req *)__skb_put(skb, sizeof(*req));
288 static void act_open_req_arp_failure(struct t3cdev *dev, struct sk_buff *skb) argument
290 struct s3_conn *c3cn = (struct s3_conn *)skb->sk;
300 __kfree_skb(skb);
309 static void skb_entail(struct s3_conn *c3cn, struct sk_buff *skb, argument
312 skb_tcp_seq(skb) = c3cn->write_seq;
313 skb_flags(skb) = flags;
314 __skb_queue_tail(&c3cn->write_queue, skb);
319 struct sk_buff *skb = c3cn->cpl_close; local
345 abort_arp_failure(struct t3cdev *cdev, struct sk_buff *skb) argument
357 struct sk_buff *skb; local
365 struct sk_buff *skb = c3cn->cpl_abort_req; local
406 struct sk_buff *skb = c3cn->cpl_abort_rpl; local
428 struct sk_buff *skb; local
460 ulp_extra_len(const struct sk_buff *skb) argument
504 enqueue_wr(struct s3_conn *c3cn, struct sk_buff *skb) argument
527 const struct sk_buff *skb = c3cn->wr_pending_head; local
541 free_wr_skb(struct sk_buff *skb) argument
548 struct sk_buff *skb = c3cn->wr_pending_head; local
560 struct sk_buff *skb; local
565 make_tx_data_wr(struct s3_conn *c3cn, struct sk_buff *skb, int len, int req_completion) argument
602 arp_failure_discard(struct t3cdev *cdev, struct sk_buff *skb) argument
610 struct sk_buff *skb; local
683 process_cpl_msg(void (*fn)(struct s3_conn *, struct sk_buff *), struct s3_conn *c3cn, struct sk_buff *skb) argument
699 process_cpl_msg_ref(void (*fn) (struct s3_conn *, struct sk_buff *), struct s3_conn *c3cn, struct sk_buff *skb) argument
743 process_act_establish(struct s3_conn *c3cn, struct sk_buff *skb) argument
770 do_act_establish(struct t3cdev *cdev, struct sk_buff *skb, void *ctx) argument
818 struct sk_buff *skb; local
837 process_act_open_rpl(struct s3_conn *c3cn, struct sk_buff *skb) argument
854 do_act_open_rpl(struct t3cdev *cdev, struct sk_buff *skb, void *ctx) argument
875 process_peer_close(struct s3_conn *c3cn, struct sk_buff *skb) argument
905 do_peer_close(struct t3cdev *cdev, struct sk_buff *skb, void *ctx) argument
919 process_close_con_rpl(struct s3_conn *c3cn, struct sk_buff *skb) argument
950 do_close_con_rpl(struct t3cdev *cdev, struct sk_buff *skb, void *ctx) argument
986 process_abort_req(struct s3_conn *c3cn, struct sk_buff *skb) argument
1011 do_abort_req(struct t3cdev *cdev, struct sk_buff *skb, void *ctx) argument
1036 process_abort_rpl(struct s3_conn *c3cn, struct sk_buff *skb) argument
1056 do_abort_rpl(struct t3cdev *cdev, struct sk_buff *skb, void *ctx) argument
1097 process_rx_iscsi_hdr(struct s3_conn *c3cn, struct sk_buff *skb) argument
1169 do_iscsi_hdr(struct t3cdev *t3dev, struct sk_buff *skb, void *ctx) argument
1193 process_wr_ack(struct s3_conn *c3cn, struct sk_buff *skb) argument
1260 do_wr_ack(struct t3cdev *cdev, struct sk_buff *skb, void *ctx) argument
1535 struct sk_buff *skb; local
1760 cxgb3i_c3cn_send_pdus(struct s3_conn *c3cn, struct sk_buff *skb) argument
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/net/ipv6/netfilter/
H A Dnf_conntrack_l3proto_ipv6.c35 extern void ip_conntrack_ipct_add(struct sk_buff *skb, u_int32_t hooknum,
40 static bool ipv6_pkt_to_tuple(const struct sk_buff *skb, unsigned int nhoff, argument
46 ap = skb_header_pointer(skb, nhoff + offsetof(struct ipv6hdr, saddr),
94 static int nf_ct_ipv6_skip_exthdr(const struct sk_buff *skb, int start, argument
109 if (skb_copy_bits(skb, start, &hdr, sizeof(hdr)))
125 static int ipv6_get_l4proto(const struct sk_buff *skb, unsigned int nhoff, argument
132 if (skb_copy_bits(skb, nhoff + offsetof(struct ipv6hdr, nexthdr),
137 protoff = nf_ct_ipv6_skip_exthdr(skb, extoff, &pnum, skb->len - extoff);
139 * (protoff == skb
152 ipv6_confirm(unsigned int hooknum, struct sk_buff *skb, const struct net_device *in, const struct net_device *out, int (*okfn)(struct sk_buff *)) argument
198 nf_ct6_defrag_user(unsigned int hooknum, struct sk_buff *skb) argument
218 ipv6_defrag(unsigned int hooknum, struct sk_buff *skb, const struct net_device *in, const struct net_device *out, int (*okfn)(struct sk_buff *)) argument
245 __ipv6_conntrack_in(struct net *net, unsigned int hooknum, struct sk_buff *skb, int (*okfn)(struct sk_buff *)) argument
282 ipv6_conntrack_in(unsigned int hooknum, struct sk_buff *skb, const struct net_device *in, const struct net_device *out, int (*okfn)(struct sk_buff *)) argument
291 ipv6_conntrack_local(unsigned int hooknum, struct sk_buff *skb, const struct net_device *in, const struct net_device *out, int (*okfn)(struct sk_buff *)) argument
356 ipv6_tuple_to_nlattr(struct sk_buff *skb, const struct nf_conntrack_tuple *tuple) argument
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/kernel/
H A Daudit.c154 struct sk_buff *skb; /* formatted skb ready to send */ member in struct:audit_buffer
161 struct sk_buff *skb; member in struct:audit_reply
167 struct nlmsghdr *nlh = nlmsg_hdr(ab->skb);
366 static void audit_hold_skb(struct sk_buff *skb) argument
370 skb_queue_tail(&audit_skb_hold_queue, skb);
372 kfree_skb(skb);
379 static void audit_printk_skb(struct sk_buff *skb) argument
381 struct nlmsghdr *nlh = nlmsg_hdr(skb);
391 audit_hold_skb(skb);
394 kauditd_send_skb(struct sk_buff *skb) argument
414 struct sk_buff *skb; local
494 struct sk_buff *skb; local
511 struct sk_buff *skb; local
561 struct sk_buff *skb; local
588 audit_netlink_ok(struct sk_buff *skb, u16 msg_type) argument
651 audit_receive_msg(struct sk_buff *skb, struct nlmsghdr *nlh) argument
931 audit_receive_skb(struct sk_buff *skb) argument
955 audit_receive(struct sk_buff *skb) argument
1218 struct sk_buff *skb = ab->skb; local
1242 struct sk_buff *skb; local
1310 struct sk_buff *skb; local
1346 struct sk_buff *skb; local
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/net/ipv4/
H A Dinet_lro.c148 static void lro_init_desc(struct net_lro_desc *lro_desc, struct sk_buff *skb, argument
156 nr_frags = skb_shinfo(skb)->nr_frags;
157 lro_desc->parent = skb;
158 lro_desc->next_frag = &(skb_shinfo(skb)->frags[nr_frags]);
218 static void lro_add_packet(struct net_lro_desc *lro_desc, struct sk_buff *skb, argument
226 skb_pull(skb, (skb->len - tcp_data_len));
227 parent->truesize += skb->truesize;
230 lro_desc->last_skb->next = skb;
232 skb_shinfo(parent)->frag_list = skb;
242 struct sk_buff *skb = lro_desc->parent; local
333 __lro_proc_skb(struct net_lro_mgr *lro_mgr, struct sk_buff *skb, struct vlan_group *vgrp, u16 vlan_tag, void *priv) argument
398 struct sk_buff *skb; local
442 struct sk_buff *skb; local
513 lro_receive_skb(struct net_lro_mgr *lro_mgr, struct sk_buff *skb, void *priv) argument
526 lro_vlan_hwaccel_receive_skb(struct net_lro_mgr *lro_mgr, struct sk_buff *skb, struct vlan_group *vgrp, u16 vlan_tag, void *priv) argument
545 struct sk_buff *skb; local
565 struct sk_buff *skb; local
[all...]
H A Dtcp_input.c132 static void tcp_measure_rcv_mss(struct sock *sk, const struct sk_buff *skb) argument
140 /* skb->len may jitter because of SACKs, even if peer
143 len = skb_shinfo(skb)->gso_size ? : skb->len;
152 len += skb->data - skb_transport_header(skb);
160 !(tcp_flag_word(tcp_hdr(skb)) & TCP_REMNANT))) {
213 static inline void TCP_ECN_accept_cwr(struct tcp_sock *tp, struct sk_buff *skb) argument
215 if (tcp_hdr(skb)->cwr)
224 static inline void TCP_ECN_check_ce(struct tcp_sock *tp, struct sk_buff *skb) argument
296 __tcp_grow_window(const struct sock *sk, const struct sk_buff *skb) argument
313 tcp_grow_window(struct sock *sk, struct sk_buff *skb) argument
488 tcp_rcv_rtt_measure_ts(struct sock *sk, const struct sk_buff *skb) argument
565 tcp_event_data_recv(struct sock *sk, struct sk_buff *skb) argument
983 tcp_verify_retransmit_hint(struct tcp_sock *tp, struct sk_buff *skb) argument
995 tcp_skb_mark_lost(struct tcp_sock *tp, struct sk_buff *skb) argument
1005 tcp_skb_mark_lost_uncond_verify(struct tcp_sock *tp, struct sk_buff *skb) argument
1162 struct sk_buff *skb; local
1254 tcp_match_skb_to_sack(struct sock *sk, struct sk_buff *skb, u32 start_seq, u32 end_seq) argument
1299 tcp_sacktag_one(struct sk_buff *skb, struct sock *sk, struct tcp_sacktag_state *state, int dup_sack, int pcount) argument
1379 tcp_shifted_skb(struct sock *sk, struct sk_buff *skb, struct tcp_sacktag_state *state, unsigned int pcount, int shifted, int mss, int dup_sack) argument
1455 tcp_skb_seglen(struct sk_buff *skb) argument
1461 skb_can_shift(struct sk_buff *skb) argument
1469 tcp_shift_skb_data(struct sock *sk, struct sk_buff *skb, struct tcp_sacktag_state *state, u32 start_seq, u32 end_seq, int dup_sack) argument
1603 tcp_sacktag_walk(struct sk_buff *skb, struct sock *sk, struct tcp_sack_block *next_dup, struct tcp_sacktag_state *state, u32 start_seq, u32 end_seq, int dup_sack_in) argument
1675 tcp_sacktag_skip(struct sk_buff *skb, struct sock *sk, struct tcp_sacktag_state *state, u32 skip_to_seq) argument
1691 tcp_maybe_skipping_dsack(struct sk_buff *skb, struct sock *sk, struct tcp_sack_block *next_dup, struct tcp_sacktag_state *state, u32 skip_to_seq) argument
1727 struct sk_buff *skb; local
2005 struct sk_buff *skb; local
2053 struct sk_buff *skb; local
2125 struct sk_buff *skb; local
2210 struct sk_buff *skb; local
2311 tcp_skb_timedout(struct sock *sk, struct sk_buff *skb) argument
2481 struct sk_buff *skb; local
2510 struct sk_buff *skb; local
2754 struct sk_buff *skb; local
2802 struct sk_buff *skb; local
2900 struct sk_buff *skb; local
3197 tcp_tso_acked(struct sock *sk, struct sk_buff *skb) argument
3226 struct sk_buff *skb; local
3438 tcp_ack_update_window(struct sock *sk, struct sk_buff *skb, u32 ack, u32 ack_seq) argument
3614 tcp_ack(struct sock *sk, struct sk_buff *skb, int flag) argument
3746 tcp_parse_options(struct sk_buff *skb, struct tcp_options_received *opt_rx, u8 **hvpp, int estab) argument
3883 tcp_fast_parse_options(struct sk_buff *skb, struct tcphdr *th, struct tcp_sock *tp, u8 **hvpp) argument
3977 tcp_disordered_ack(const struct sock *sk, const struct sk_buff *skb) argument
3997 tcp_paws_discard(const struct sock *sk, const struct sk_buff *skb) argument
4064 tcp_fin(struct sk_buff *skb, struct sock *sk, struct tcphdr *th) argument
4176 tcp_send_dupack(struct sock *sk, struct sk_buff *skb) argument
4308 struct sk_buff *skb; local
4361 tcp_data_queue(struct sock *sk, struct sk_buff *skb) argument
4577 tcp_collapse_one(struct sock *sk, struct sk_buff *skb, struct sk_buff_head *list) argument
4605 struct sk_buff *skb, *n; local
4709 struct sk_buff *skb = skb_peek(&tp->out_of_order_queue); local
5006 struct sk_buff *skb = skb_peek(&sk->sk_receive_queue); local
5022 tcp_urg(struct sock *sk, struct sk_buff *skb, struct tcphdr *th) argument
5047 tcp_copy_to_iovec(struct sock *sk, struct sk_buff *skb, int hlen) argument
5070 __tcp_checksum_complete_user(struct sock *sk, struct sk_buff *skb) argument
5085 tcp_checksum_complete_user(struct sock *sk, struct sk_buff *skb) argument
5093 tcp_dma_try_early_copy(struct sock *sk, struct sk_buff *skb, int hlen) argument
5142 tcp_validate_incoming(struct sock *sk, struct sk_buff *skb, struct tcphdr *th, int syn_inerr) argument
5225 tcp_rcv_established(struct sock *sk, struct sk_buff *skb, struct tcphdr *th, unsigned len) argument
5436 tcp_rcv_synsent_state_process(struct sock *sk, struct sk_buff *skb, struct tcphdr *th, unsigned len) argument
5700 tcp_rcv_state_process(struct sock *sk, struct sk_buff *skb, struct tcphdr *th, unsigned len) argument
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/isdn/pcbit/
H A Dcallbacks.c45 struct sk_buff *skb; local
59 if ((len = capi_conn_req(cbdata->data.setup.CalledPN, &skb,
74 pcbit_l2_write(dev, MSG_CONN_REQ, refnum, skb, len);
88 struct sk_buff *skb; local
92 if ((len=capi_conn_active_resp(chan, &skb)) < 0)
101 pcbit_l2_write(dev, MSG_CONN_ACTV_RESP, refnum, skb, len);
113 if ((len=capi_select_proto_req(chan, &skb, 1 /*outgoing*/)) < 0) {
121 pcbit_l2_write(dev, MSG_SELP_REQ, refnum, skb, len);
135 struct sk_buff *skb; local
173 if ((len=capi_conn_resp(chan, &skb)) <
194 struct sk_buff *skb; local
220 struct sk_buff *skb; local
245 struct sk_buff *skb; local
274 struct sk_buff *skb; local
317 struct sk_buff *skb; local
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/staging/batman-adv/
H A Dsoft-interface.c64 int my_skb_push(struct sk_buff *skb, unsigned int len) argument
69 if (skb_headroom(skb) < len) {
71 result = pskb_expand_head(skb, len, 0, GFP_ATOMIC);
77 skb_push(skb, len);
128 int interface_tx(struct sk_buff *skb, struct net_device *dev) argument
134 struct ethhdr *ethhdr = (struct ethhdr *)skb->data;
139 int data_len = skb->len;
154 if (my_skb_push(skb, sizeof(struct bcast_packet)) < 0)
157 bcast_packet = (struct bcast_packet *)skb->data;
172 if (add_bcast_packet_to_list(skb)
235 interface_rx(struct sk_buff *skb, int hdr_size) argument
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/net/irda/ircomm/
H A Dircomm_lmp.c69 * Function ircomm_lmp_connect_response (self, skb)
136 * Function ircomm_lmp_flow_control (skb)
142 static void ircomm_lmp_flow_control(struct sk_buff *skb) argument
148 IRDA_ASSERT(skb != NULL, return;);
150 cb = (struct irda_skb_cb *) skb->cb;
183 struct sk_buff *skb,
189 IRDA_ASSERT(skb != NULL, return -1;);
191 cb = (struct irda_skb_cb *) skb->cb;
198 skb_get(skb);
200 skb_orphan(skb);
182 ircomm_lmp_data_request(struct ircomm_cb *self, struct sk_buff *skb, int not_used) argument
225 ircomm_lmp_data_indication(void *instance, void *sap, struct sk_buff *skb) argument
251 ircomm_lmp_connect_confirm(void *instance, void *sap, struct qos_info *qos, __u32 max_seg_size, __u8 max_header_size, struct sk_buff *skb) argument
284 ircomm_lmp_connect_indication(void *instance, void *sap, struct qos_info *qos, __u32 max_seg_size, __u8 max_header_size, struct sk_buff *skb) argument
316 ircomm_lmp_disconnect_indication(void *instance, void *sap, LM_REASON reason, struct sk_buff *skb) argument
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/net/dccp/
H A Dipv4.c199 static void dccp_v4_err(struct sk_buff *skb, u32 info) argument
201 const struct iphdr *iph = (struct iphdr *)skb->data;
203 const struct dccp_hdr *dh = (struct dccp_hdr *)(skb->data + offset);
206 const int type = icmp_hdr(skb)->type;
207 const int code = icmp_hdr(skb)->code;
211 struct net *net = dev_net(skb->dev);
213 if (skb->len < offset + sizeof(*dh) ||
214 skb->len < offset + __dccp_basic_hdr_len(dh)) {
221 iph->saddr, dh->dccph_sport, inet_iif(skb));
346 static inline __sum16 dccp_v4_csum_finish(struct sk_buff *skb, argument
352 dccp_v4_send_check(struct sock *sk, struct sk_buff *skb) argument
365 dccp_v4_init_sequence(const struct sk_buff *skb) argument
379 dccp_v4_request_recv_sock(struct sock *sk, struct sk_buff *skb, struct request_sock *req, struct dst_entry *dst) argument
427 dccp_v4_hnd_req(struct sock *sk, struct sk_buff *skb) argument
456 dccp_v4_route_skb(struct net *net, struct sock *sk, struct sk_buff *skb) argument
485 struct sk_buff *skb; local
514 struct sk_buff *skb; local
567 dccp_v4_conn_request(struct sock *sk, struct sk_buff *skb) argument
646 dccp_v4_do_rcv(struct sock *sk, struct sk_buff *skb) argument
710 dccp_invalid_packet(struct sk_buff *skb) argument
779 dccp_v4_rcv(struct sk_buff *skb) argument
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/net/ipv6/
H A Dicmp.c83 static int icmpv6_rcv(struct sk_buff *skb);
116 void icmpv6_param_prob(struct sk_buff *skb, u8 code, int pos) argument
118 icmpv6_send(skb, ICMPV6_PARAMPROB, code, pos);
119 kfree_skb(skb);
133 static int is_ineligible(struct sk_buff *skb) argument
135 int ptr = (u8 *)(ipv6_hdr(skb) + 1) - skb->data;
136 int len = skb->len - ptr;
137 __u8 nexthdr = ipv6_hdr(skb)->nexthdr;
142 ptr = ipv6_skip_exthdr(skb, pt
202 opt_unrec(struct sk_buff *skb, __u32 offset) argument
215 struct sk_buff *skb; local
253 struct sk_buff *skb; member in struct:icmpv6_msg
258 icmpv6_getfrag(void *from, char *to, int offset, int len, int odd, struct sk_buff *skb) argument
273 mip6_addr_swap(struct sk_buff *skb) argument
293 mip6_addr_swap(struct sk_buff *skb) argument
299 icmpv6_send(struct sk_buff *skb, u8 type, u8 code, __u32 info) argument
498 icmpv6_echo_reply(struct sk_buff *skb) argument
577 icmpv6_notify(struct sk_buff *skb, u8 type, u8 code, __be32 info) argument
623 icmpv6_rcv(struct sk_buff *skb) argument
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/net/netfilter/ipvs/
H A Dip_vs_proto_tcp.c31 tcp_conn_schedule(int af, struct sk_buff *skb, struct ip_vs_protocol *pp, argument
38 ip_vs_fill_iphdr(af, skb_network_header(skb), &iph);
40 th = skb_header_pointer(skb, iph.len, sizeof(_tcph), &_tcph);
47 (svc = ip_vs_service_get(af, skb->mark, iph.protocol, &iph.daddr,
63 *cpp = ip_vs_schedule(svc, skb);
65 *verdict = ip_vs_leave(svc, skb, pp);
117 tcp_snat_handler(struct sk_buff *skb, argument
129 tcphoff = ip_hdrlen(skb);
130 oldlen = skb->len - tcphoff;
132 /* csum_check requires unshared skb */
187 tcp_dnat_handler(struct sk_buff *skb, struct ip_vs_protocol *pp, struct ip_vs_conn *cp) argument
259 tcp_csum_check(int af, struct sk_buff *skb, struct ip_vs_protocol *pp) argument
518 tcp_state_transition(struct ip_vs_conn *cp, int direction, const struct sk_buff *skb, struct ip_vs_protocol *pp) argument
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/net/wireless/ath/ath9k/
H A Dwmi.c128 struct sk_buff *skb; local
136 skb = priv->wmi->wmi_skb;
139 hdr = (struct wmi_cmd_hdr *) skb->data;
141 wmi_event = skb_pull(skb, sizeof(struct wmi_cmd_hdr));
173 kfree_skb(skb);
176 static void ath9k_wmi_rsp_callback(struct wmi *wmi, struct sk_buff *skb) argument
178 skb_pull(skb, sizeof(struct wmi_cmd_hdr));
181 memcpy(wmi->cmd_rsp_buf, skb->data, wmi->cmd_rsp_len);
186 static void ath9k_wmi_ctrl_rx(void *priv, struct sk_buff *skb, argument
196 hdr = (struct wmi_cmd_hdr *) skb
222 ath9k_wmi_ctrl_tx(void *priv, struct sk_buff *skb, enum htc_endpoint_id epid, bool txok) argument
252 ath9k_wmi_cmd_issue(struct wmi *wmi, struct sk_buff *skb, enum wmi_cmd_id cmd, u16 len) argument
274 struct sk_buff *skb; local
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/staging/rtl8187se/ieee80211/
H A Dieee80211_crypt.h41 * decrypt_msdu. skb must have enough head and tail room for the
45 int (*encrypt_mpdu)(struct sk_buff *skb, int hdr_len, void *priv);
46 int (*decrypt_mpdu)(struct sk_buff *skb, int hdr_len, void *priv);
50 int (*encrypt_msdu)(struct sk_buff *skb, int hdr_len, void *priv);
51 int (*decrypt_msdu)(struct sk_buff *skb, int keyidx, int hdr_len,
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/staging/rtl8192e/ieee80211/
H A Dieee80211_crypt.h41 * decrypt_msdu. skb must have enough head and tail room for the
45 int (*encrypt_mpdu)(struct sk_buff *skb, int hdr_len, void *priv);
46 int (*decrypt_mpdu)(struct sk_buff *skb, int hdr_len, void *priv);
50 int (*encrypt_msdu)(struct sk_buff *skb, int hdr_len, void *priv);
51 int (*decrypt_msdu)(struct sk_buff *skb, int keyidx, int hdr_len,

Completed in 151 milliseconds

1234567891011>>