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

1234567891011>>

/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/net/ipv4/
H A Dxfrm4_output.c21 static int xfrm4_tunnel_check_size(struct sk_buff *skb) argument
26 if (IPCB(skb)->flags & IPSKB_XFRM_TUNNEL_SIZE)
29 if (!(ip_hdr(skb)->frag_off & htons(IP_DF)) || skb->local_df)
32 dst = skb_dst(skb);
34 if (skb->len > mtu) {
35 icmp_send(skb, ICMP_DEST_UNREACH, ICMP_FRAG_NEEDED, htonl(mtu));
42 int xfrm4_extract_output(struct xfrm_state *x, struct sk_buff *skb) argument
46 err = xfrm4_tunnel_check_size(skb);
50 XFRM_MODE_SKB_CB(skb)
55 xfrm4_prepare_output(struct xfrm_state *x, struct sk_buff *skb) argument
72 xfrm4_output_finish(struct sk_buff *skb) argument
87 xfrm4_output(struct sk_buff *skb) argument
[all...]
H A Dxfrm4_mode_transport.c21 static int xfrm4_transport_output(struct xfrm_state *x, struct sk_buff *skb) argument
23 struct iphdr *iph = ip_hdr(skb);
26 skb_set_network_header(skb, -x->props.header_len);
27 skb->mac_header = skb->network_header +
29 skb->transport_header = skb->network_header + ihl;
30 __skb_pull(skb, ihl);
31 memmove(skb_network_header(skb), iph, ihl);
39 * On entry, skb
43 xfrm4_transport_input(struct xfrm_state *x, struct sk_buff *skb) argument
[all...]
H A Dip_forward.c42 static int ip_forward_finish(struct sk_buff *skb) argument
44 struct ip_options * opt = &(IPCB(skb)->opt);
46 IP_INC_STATS_BH(dev_net(skb_dst(skb)->dev), IPSTATS_MIB_OUTFORWDATAGRAMS);
49 ip_forward_options(skb);
51 return dst_output(skb);
54 int ip_forward(struct sk_buff *skb) argument
58 struct ip_options * opt = &(IPCB(skb)->opt);
60 if (skb_warn_if_lro(skb))
63 if (!xfrm4_policy_check(NULL, XFRM_POLICY_FWD, skb))
66 if (IPCB(skb)
[all...]
H A Dnetfilter.c14 int ip_route_me_harder(struct sk_buff *skb, unsigned addr_type) argument
16 struct net *net = dev_net(skb_dst(skb)->dev);
17 const struct iphdr *iph = ip_hdr(skb);
25 if (skb->sk && inet_sk(skb->sk)->transparent)
38 fl.oif = skb->sk ? skb->sk->sk_bound_dev_if : 0;
39 fl.mark = skb->mark;
40 fl.flags = skb->sk ? inet_sk_flowi_flags(skb
89 ip_xfrm_me_harder(struct sk_buff *skb) argument
136 nf_ip_saveroute(const struct sk_buff *skb, struct nf_queue_entry *entry) argument
151 nf_ip_reroute(struct sk_buff *skb, const struct nf_queue_entry *entry) argument
168 nf_ip_checksum(struct sk_buff *skb, unsigned int hook, unsigned int dataoff, u_int8_t protocol) argument
199 nf_ip_checksum_partial(struct sk_buff *skb, unsigned int hook, unsigned int dataoff, unsigned int len, u_int8_t protocol) argument
[all...]
H A Dxfrm4_mode_beet.c20 static void xfrm4_beet_make_header(struct sk_buff *skb) argument
22 struct iphdr *iph = ip_hdr(skb);
27 iph->protocol = XFRM_MODE_SKB_CB(skb)->protocol;
28 iph->tos = XFRM_MODE_SKB_CB(skb)->tos;
30 iph->id = XFRM_MODE_SKB_CB(skb)->id;
31 iph->frag_off = XFRM_MODE_SKB_CB(skb)->frag_off;
32 iph->ttl = XFRM_MODE_SKB_CB(skb)->ttl;
39 static int xfrm4_beet_output(struct xfrm_state *x, struct sk_buff *skb) argument
46 optlen = XFRM_MODE_SKB_CB(skb)->optlen;
50 skb_set_network_header(skb,
84 xfrm4_beet_input(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/include/linux/
H A Dnetfilter_bridge.h50 extern int nf_bridge_copy_header(struct sk_buff *skb);
51 static inline int nf_bridge_maybe_copy_header(struct sk_buff *skb) argument
53 if (skb->nf_bridge &&
54 skb->nf_bridge->mask & (BRNF_BRIDGED | BRNF_BRIDGED_DNAT))
55 return nf_bridge_copy_header(skb);
59 static inline unsigned int nf_bridge_encap_header_len(const struct sk_buff *skb) argument
61 switch (skb->protocol) {
71 static inline unsigned int nf_bridge_mtu_reduction(const struct sk_buff *skb) argument
73 if (unlikely(skb->nf_bridge->mask & BRNF_PPPoE))
78 extern int br_handle_frame_finish(struct sk_buff *skb);
80 br_nf_pre_routing_finish_bridge_slow(struct sk_buff *skb) argument
94 nf_bridge_pad(const struct sk_buff *skb) argument
[all...]
H A Dskbuff.h52 * skb->csum is undefined.
55 * skb->csum is undefined.
61 * the packet as seen by netif_rx in skb->csum.
63 * is able to produce some skb->csum, it MUST use COMPLETE,
75 * NONE: skb is checksummed by protocol or csum is not required.
78 * from skb->csum_start to the end and to record the checksum
79 * at skb->csum_start + skb->csum_offset.
126 /* To allow 64K frame to be packed as single skb without frag_list */
146 * skb
481 skb_dst(const struct sk_buff *skb) argument
500 skb_dst_set(struct sk_buff *skb, struct dst_entry *dst) argument
513 skb_dst_set_noref(struct sk_buff *skb, struct dst_entry *dst) argument
523 skb_dst_is_noref(const struct sk_buff *skb) argument
528 skb_rtable(const struct sk_buff *skb) argument
602 skb_end_pointer(const struct sk_buff *skb) argument
607 skb_end_pointer(const struct sk_buff *skb) argument
616 skb_hwtstamps(struct sk_buff *skb) argument
621 skb_tx(struct sk_buff *skb) argument
644 skb_queue_is_last(const struct sk_buff_head *list, const struct sk_buff *skb) argument
657 skb_queue_is_first(const struct sk_buff_head *list, const struct sk_buff *skb) argument
671 skb_queue_next(const struct sk_buff_head *list, const struct sk_buff *skb) argument
689 skb_queue_prev(const struct sk_buff_head *list, const struct sk_buff *skb) argument
706 skb_get(struct sk_buff *skb) argument
725 skb_cloned(const struct sk_buff *skb) argument
738 skb_header_cloned(const struct sk_buff *skb) argument
758 skb_header_release(struct sk_buff *skb) argument
772 skb_shared(const struct sk_buff *skb) argument
790 skb_share_check(struct sk_buff *skb, gfp_t pri) argument
822 skb_unshare(struct sk_buff *skb, gfp_t pri) argument
1085 __skb_unlink(struct sk_buff *skb, struct sk_buff_head *list) argument
1108 struct sk_buff *skb = skb_peek(list); local
1125 struct sk_buff *skb = skb_peek_tail(list); local
1132 skb_is_nonlinear(const struct sk_buff *skb) argument
1137 skb_headlen(const struct sk_buff *skb) argument
1142 skb_pagelen(const struct sk_buff *skb) argument
1151 skb_fill_page_desc(struct sk_buff *skb, int i, struct page *page, int off, int size) argument
1170 skb_tail_pointer(const struct sk_buff *skb) argument
1175 skb_reset_tail_pointer(struct sk_buff *skb) argument
1180 skb_set_tail_pointer(struct sk_buff *skb, const int offset) argument
1186 skb_tail_pointer(const struct sk_buff *skb) argument
1191 skb_reset_tail_pointer(struct sk_buff *skb) argument
1196 skb_set_tail_pointer(struct sk_buff *skb, const int offset) argument
1207 __skb_put(struct sk_buff *skb, unsigned int len) argument
1217 __skb_push(struct sk_buff *skb, unsigned int len) argument
1225 __skb_pull(struct sk_buff *skb, unsigned int len) argument
1232 skb_pull_inline(struct sk_buff *skb, unsigned int len) argument
1239 __pskb_pull(struct sk_buff *skb, unsigned int len) argument
1248 pskb_pull(struct sk_buff *skb, unsigned int len) argument
1253 pskb_may_pull(struct sk_buff *skb, unsigned int len) argument
1268 skb_headroom(const struct sk_buff *skb) argument
1279 skb_tailroom(const struct sk_buff *skb) argument
1292 skb_reserve(struct sk_buff *skb, int len) argument
1299 skb_transport_header(const struct sk_buff *skb) argument
1304 skb_reset_transport_header(struct sk_buff *skb) argument
1309 skb_set_transport_header(struct sk_buff *skb, const int offset) argument
1316 skb_network_header(const struct sk_buff *skb) argument
1321 skb_reset_network_header(struct sk_buff *skb) argument
1326 skb_set_network_header(struct sk_buff *skb, const int offset) argument
1332 skb_mac_header(const struct sk_buff *skb) argument
1337 skb_mac_header_was_set(const struct sk_buff *skb) argument
1342 skb_reset_mac_header(struct sk_buff *skb) argument
1347 skb_set_mac_header(struct sk_buff *skb, const int offset) argument
1355 skb_transport_header(const struct sk_buff *skb) argument
1360 skb_reset_transport_header(struct sk_buff *skb) argument
1365 skb_set_transport_header(struct sk_buff *skb, const int offset) argument
1371 skb_network_header(const struct sk_buff *skb) argument
1376 skb_reset_network_header(struct sk_buff *skb) argument
1381 skb_set_network_header(struct sk_buff *skb, const int offset) argument
1386 skb_mac_header(const struct sk_buff *skb) argument
1391 skb_mac_header_was_set(const struct sk_buff *skb) argument
1396 skb_reset_mac_header(struct sk_buff *skb) argument
1401 skb_set_mac_header(struct sk_buff *skb, const int offset) argument
1407 skb_transport_offset(const struct sk_buff *skb) argument
1412 skb_network_header_len(const struct sk_buff *skb) argument
1417 skb_network_offset(const struct sk_buff *skb) argument
1422 pskb_network_may_pull(struct sk_buff *skb, unsigned int len) argument
1477 __skb_trim(struct sk_buff *skb, unsigned int len) argument
1489 __pskb_trim(struct sk_buff *skb, unsigned int len) argument
1497 pskb_trim(struct sk_buff *skb, unsigned int len) argument
1511 pskb_trim_unique(struct sk_buff *skb, unsigned int len) argument
1525 skb_orphan(struct sk_buff *skb) argument
1544 struct sk_buff *skb; local
1564 struct sk_buff *skb = alloc_skb(length + NET_SKB_PAD, gfp_mask); local
1597 struct sk_buff *skb = netdev_alloc_skb(dev, length + NET_IP_ALIGN); local
1632 skb_clone_writable(struct sk_buff *skb, unsigned int len) argument
1638 __skb_cow(struct sk_buff *skb, unsigned int headroom, int cloned) argument
1666 skb_cow(struct sk_buff *skb, unsigned int headroom) argument
1681 skb_cow_head(struct sk_buff *skb, unsigned int headroom) argument
1697 skb_padto(struct sk_buff *skb, unsigned int len) argument
1705 skb_add_data(struct sk_buff *skb, char __user *from, int copy) argument
1725 skb_can_coalesce(struct sk_buff *skb, int i, struct page *page, int off) argument
1737 __skb_linearize(struct sk_buff *skb) argument
1749 skb_linearize(struct sk_buff *skb) argument
1761 skb_linearize_cow(struct sk_buff *skb) argument
1778 skb_postpull_rcsum(struct sk_buff *skb, const void *start, unsigned int len) argument
1796 pskb_trim_rcsum(struct sk_buff *skb, unsigned int len) argument
1830 skb_has_frags(const struct sk_buff *skb) argument
1835 skb_frag_list_init(struct sk_buff *skb) argument
1840 skb_frag_add_head(struct sk_buff *skb, struct sk_buff *frag) argument
1900 skb_header_pointer(const struct sk_buff *skb, int offset, int len, void *buffer) argument
1914 skb_copy_from_linear_data(const struct sk_buff *skb, void *to, const unsigned int len) argument
1921 skb_copy_from_linear_data_offset(const struct sk_buff *skb, const int offset, void *to, const unsigned int len) argument
1928 skb_copy_to_linear_data(struct sk_buff *skb, const void *from, const unsigned int len) argument
1935 skb_copy_to_linear_data_offset(struct sk_buff *skb, const int offset, const void *from, const unsigned int len) argument
1945 skb_get_ktime(const struct sk_buff *skb) argument
1959 skb_get_timestamp(const struct sk_buff *skb, struct timeval *stamp) argument
1965 skb_get_timestampns(const struct sk_buff *skb, struct timespec *stamp) argument
1971 __net_timestamp(struct sk_buff *skb) argument
1995 skb_clone_tx_timestamp(struct sk_buff *skb) argument
1999 skb_defer_rx_timestamp(struct sk_buff *skb) argument
2030 sw_tx_timestamp(struct sk_buff *skb) argument
2046 skb_tx_timestamp(struct sk_buff *skb) argument
2055 skb_csum_unnecessary(const struct sk_buff *skb) argument
2076 skb_checksum_complete(struct sk_buff *skb) argument
2094 nf_conntrack_get_reasm(struct sk_buff *skb) argument
2099 nf_conntrack_put_reasm(struct sk_buff *skb) argument
2117 nf_reset(struct sk_buff *skb) argument
2165 skb_init_secmark(struct sk_buff *skb) argument
2173 skb_init_secmark(struct sk_buff *skb) argument
2177 skb_set_queue_mapping(struct sk_buff *skb, u16 queue_mapping) argument
2182 skb_get_queue_mapping(const struct sk_buff *skb) argument
2192 skb_record_rx_queue(struct sk_buff *skb, u16 rx_queue) argument
2197 skb_get_rx_queue(const struct sk_buff *skb) argument
2202 skb_rx_queue_recorded(const struct sk_buff *skb) argument
2211 skb_sec_path(struct sk_buff *skb) argument
2216 skb_sec_path(struct sk_buff *skb) argument
2222 skb_is_gso(const struct sk_buff *skb) argument
2227 skb_is_gso_v6(const struct sk_buff *skb) argument
2234 skb_warn_if_lro(const struct sk_buff *skb) argument
2247 skb_forward_csum(struct sk_buff *skb) argument
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/isdn/pcbit/
H A Dcapi.c54 int capi_conn_req(const char * calledPN, struct sk_buff **skb, int proto) argument
79 if ((*skb = dev_alloc_skb(len)) == NULL) {
86 *((ushort*) skb_put(*skb, 2)) = AppInfoMask;
91 *(skb_put(*skb, 1)) = 3; /* BC0.Length */
92 *(skb_put(*skb, 1)) = 0x80; /* Speech */
93 *(skb_put(*skb, 1)) = 0x10; /* Circuit Mode */
94 *(skb_put(*skb, 1)) = 0x23; /* A-law */
99 *(skb_put(*skb, 1)) = 2; /* BC0.Length */
100 *(skb_put(*skb, 1)) = 0x88; /* Digital Information */
101 *(skb_put(*skb,
134 capi_conn_resp(struct pcbit_chan* chan, struct sk_buff **skb) argument
151 capi_conn_active_req(struct pcbit_chan* chan, struct sk_buff **skb) argument
179 capi_conn_active_resp(struct pcbit_chan* chan, struct sk_buff **skb) argument
197 capi_select_proto_req(struct pcbit_chan *chan, struct sk_buff **skb, int outgoing) argument
263 capi_activate_transp_req(struct pcbit_chan *chan, struct sk_buff **skb) argument
285 capi_tdata_req(struct pcbit_chan* chan, struct sk_buff *skb) argument
321 capi_tdata_resp(struct pcbit_chan *chan, struct sk_buff ** skb) argument
338 capi_disc_req(ushort callref, struct sk_buff **skb, u_char cause) argument
362 capi_disc_resp(struct pcbit_chan *chan, struct sk_buff **skb) argument
381 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
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/net/ipv6/
H A Dxfrm6_output.c22 int xfrm6_find_1stfragopt(struct xfrm_state *x, struct sk_buff *skb, argument
25 return ip6_find_1stfragopt(skb, prevhdr);
30 static int xfrm6_tunnel_check_size(struct sk_buff *skb) argument
33 struct dst_entry *dst = skb_dst(skb);
39 if (!skb->local_df && skb->len > mtu) {
40 skb->dev = dst->dev;
41 icmpv6_send(skb, ICMPV6_PKT_TOOBIG, 0, mtu);
48 int xfrm6_extract_output(struct xfrm_state *x, struct sk_buff *skb) argument
52 err = xfrm6_tunnel_check_size(skb);
61 xfrm6_prepare_output(struct xfrm_state *x, struct sk_buff *skb) argument
81 xfrm6_output_finish(struct sk_buff *skb) argument
91 xfrm6_output(struct sk_buff *skb) argument
[all...]
H A Dip6_input.c50 inline int ip6_rcv_finish( struct sk_buff *skb) argument
52 if (skb_dst(skb) == NULL)
53 ip6_route_input(skb);
55 return dst_input(skb);
58 int ipv6_rcv(struct sk_buff *skb, struct net_device *dev, struct packet_type *pt, struct net_device *orig_dev) argument
63 struct net *net = dev_net(skb->dev);
65 if (skb->pkt_type == PACKET_OTHERHOST) {
66 kfree_skb(skb);
72 idev = __in6_dev_get(skb->dev);
74 IP6_UPD_PO_STATS_BH(net, idev, IPSTATS_MIB_IN, skb
161 ip6_input_finish(struct sk_buff *skb) argument
237 ip6_input(struct sk_buff *skb) argument
243 ip6_mc_input(struct sk_buff *skb) argument
[all...]
H A Dxfrm6_mode_transport.c22 static int xfrm6_transport_output(struct xfrm_state *x, struct sk_buff *skb) argument
28 iph = ipv6_hdr(skb);
30 hdr_len = x->type->hdr_offset(x, skb, &prevhdr);
31 skb_set_mac_header(skb, (prevhdr - x->props.header_len) - skb->data);
32 skb_set_network_header(skb, -x->props.header_len);
33 skb->transport_header = skb->network_header + hdr_len;
34 __skb_pull(skb, hdr_len);
35 memmove(ipv6_hdr(skb), ip
47 xfrm6_transport_input(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/8021q/
H A Dvlan_core.c8 int __vlan_hwaccel_rx(struct sk_buff *skb, struct vlan_group *grp, argument
14 if (netpoll_rx(skb))
17 if (skb_bond_should_drop(skb, ACCESS_ONCE(skb->dev->master)))
18 skb->deliver_no_wcard = 1;
20 skb->skb_iif = skb->dev->ifindex;
21 __vlan_hwaccel_put_tag(skb, vlan_tci);
26 skb->dev = vlan_dev;
28 if (!(skb
41 vlan_hwaccel_do_receive(struct sk_buff *skb) argument
100 vlan_gro_common(struct napi_struct *napi, struct vlan_group *grp, unsigned int vlan_tci, struct sk_buff *skb) argument
136 vlan_gro_receive(struct napi_struct *napi, struct vlan_group *grp, unsigned int vlan_tci, struct sk_buff *skb) argument
152 struct sk_buff *skb = napi_frags_skb(napi); local
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/include/net/
H A Dllc_c_ev.h123 static __inline__ struct llc_conn_state_ev *llc_conn_ev(struct sk_buff *skb) argument
125 return (struct llc_conn_state_ev *)skb->cb;
128 typedef int (*llc_conn_ev_t)(struct sock *sk, struct sk_buff *skb);
129 typedef int (*llc_conn_ev_qfyr_t)(struct sock *sk, struct sk_buff *skb);
131 extern int llc_conn_ev_conn_req(struct sock *sk, struct sk_buff *skb);
132 extern int llc_conn_ev_data_req(struct sock *sk, struct sk_buff *skb);
133 extern int llc_conn_ev_disc_req(struct sock *sk, struct sk_buff *skb);
134 extern int llc_conn_ev_rst_req(struct sock *sk, struct sk_buff *skb);
136 struct sk_buff *skb);
137 extern int llc_conn_ev_local_busy_cleared(struct sock *sk, struct sk_buff *skb);
264 llc_conn_space(struct sock *sk, struct sk_buff *skb) argument
[all...]
H A Dllc_c_ac.h90 typedef int (*llc_conn_action_t)(struct sock *sk, struct sk_buff *skb);
92 extern int llc_conn_ac_clear_remote_busy(struct sock *sk, struct sk_buff *skb);
93 extern int llc_conn_ac_conn_ind(struct sock *sk, struct sk_buff *skb);
94 extern int llc_conn_ac_conn_confirm(struct sock* sk, struct sk_buff *skb);
95 extern int llc_conn_ac_data_ind(struct sock* sk, struct sk_buff *skb);
96 extern int llc_conn_ac_disc_ind(struct sock* sk, struct sk_buff *skb);
97 extern int llc_conn_ac_rst_ind(struct sock* sk, struct sk_buff *skb);
98 extern int llc_conn_ac_rst_confirm(struct sock* sk, struct sk_buff *skb);
100 struct sk_buff *skb);
102 struct sk_buff *skb);
[all...]
H A Dx25device.h9 static inline __be16 x25_type_trans(struct sk_buff *skb, struct net_device *dev) argument
11 skb->dev = dev;
12 skb_reset_mac_header(skb);
13 skb->pkt_type = PACKET_HOST;
H A Dllc_s_ac.h26 typedef int (*llc_sap_action_t)(struct llc_sap *sap, struct sk_buff *skb);
29 struct sk_buff *skb);
30 extern int llc_sap_action_send_ui(struct llc_sap *sap, struct sk_buff *skb);
31 extern int llc_sap_action_send_xid_c(struct llc_sap *sap, struct sk_buff *skb);
32 extern int llc_sap_action_send_xid_r(struct llc_sap *sap, struct sk_buff *skb);
33 extern int llc_sap_action_send_test_c(struct llc_sap *sap, struct sk_buff *skb);
34 extern int llc_sap_action_send_test_r(struct llc_sap *sap, struct sk_buff *skb);
36 struct sk_buff *skb);
37 extern int llc_sap_action_xid_ind(struct llc_sap *sap, struct sk_buff *skb);
38 extern int llc_sap_action_test_ind(struct llc_sap *sap, struct sk_buff *skb);
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/net/core/
H A Dtimestamping.c29 static unsigned int classify(struct sk_buff *skb) argument
31 if (likely(skb->dev &&
32 skb->dev->phydev &&
33 skb->dev->phydev->drv))
34 return sk_run_filter(skb, ptp_filter, ARRAY_SIZE(ptp_filter));
39 void skb_clone_tx_timestamp(struct sk_buff *skb) argument
43 struct sock *sk = skb->sk;
49 type = classify(skb);
58 phydev = skb->dev->phydev;
60 clone = skb_clone(skb, GFP_ATOMI
72 skb_complete_tx_timestamp(struct sk_buff *skb, struct skb_shared_hwtstamps *hwtstamps) argument
94 skb_defer_rx_timestamp(struct sk_buff *skb) argument
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/net/dsa/
H A Dtag_trailer.c17 netdev_tx_t trailer_xmit(struct sk_buff *skb, struct net_device *dev) argument
25 dev->stats.tx_bytes += skb->len;
34 if (skb->len < 60)
35 padlen = 60 - skb->len;
37 nskb = alloc_skb(NET_IP_ALIGN + skb->len + padlen + 4, GFP_ATOMIC);
39 kfree_skb(skb);
45 skb_set_network_header(nskb, skb_network_header(skb) - skb->head);
46 skb_set_transport_header(nskb, skb_transport_header(skb) - skb
69 trailer_rcv(struct sk_buff *skb, struct net_device *dev, struct packet_type *pt, struct net_device *orig_dev) argument
[all...]
H A Dtag_edsa.c20 netdev_tx_t edsa_xmit(struct sk_buff *skb, struct net_device *dev) argument
26 dev->stats.tx_bytes += skb->len;
34 if (skb->protocol == htons(ETH_P_8021Q)) {
35 if (skb_cow_head(skb, DSA_HLEN) < 0)
37 skb_push(skb, DSA_HLEN);
39 memmove(skb->data, skb->data + DSA_HLEN, 2 * ETH_ALEN);
44 edsa_header = skb->data + 2 * ETH_ALEN;
60 if (skb_cow_head(skb, EDSA_HLEN) < 0)
62 skb_push(skb, EDSA_HLE
92 edsa_rcv(struct sk_buff *skb, struct net_device *dev, struct packet_type *pt, struct net_device *orig_dev) argument
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/net/bridge/
H A Dbr_forward.c35 int (*br_insert_multissid_hook)(struct sk_buff *skb, struct net_bridge_port *dst)=NULL;
47 int (*br_insert_accesscntl_hook)(struct sk_buff *skb, struct net_bridge_port *dst)=NULL;
54 struct sk_buff *skb,
56 struct sk_buff *skb));
60 const struct sk_buff *skb)
69 ret=br_insert_multissid_hook(skb, p);
81 ret=br_insert_accesscntl_hook(skb, p);
89 return (((p->flags & BR_HAIRPIN_MODE) || skb->dev != p->dev) &&
93 static inline unsigned packet_length(const struct sk_buff *skb) argument
95 return skb
59 should_deliver(const struct net_bridge_port *p, const struct sk_buff *skb) argument
98 br_dev_queue_push_xmit(struct sk_buff *skb) argument
116 br_forward_finish(struct sk_buff *skb) argument
123 __br_deliver(const struct net_bridge_port *to, struct sk_buff *skb) argument
141 __br_forward(const struct net_bridge_port *to, struct sk_buff *skb) argument
159 br_deliver(const struct net_bridge_port *to, struct sk_buff *skb) argument
170 br_forward(const struct net_bridge_port *to, struct sk_buff *skb, struct sk_buff *skb0) argument
184 deliver_clone(const struct net_bridge_port *prev, struct sk_buff *skb, void (*__packet_hook)(const struct net_bridge_port *p, struct sk_buff *skb)) argument
201 maybe_deliver( struct net_bridge_port *prev, struct net_bridge_port *p, struct sk_buff *skb, void (*__packet_hook)(const struct net_bridge_port *p, struct sk_buff *skb)) argument
224 br_flood(struct net_bridge *br, struct sk_buff *skb, struct sk_buff *skb0, void (*__packet_hook)(const struct net_bridge_port *p, struct sk_buff *skb)) argument
256 br_flood_deliver(struct net_bridge *br, struct sk_buff *skb) argument
262 br_flood_forward(struct net_bridge *br, struct sk_buff *skb, struct sk_buff *skb2) argument
270 br_multicast_flood(struct net_bridge_mdb_entry *mdst, struct sk_buff *skb, struct sk_buff *skb0, void (*__packet_hook)( const struct net_bridge_port *p, struct sk_buff *skb)) argument
332 br_multicast_deliver(struct net_bridge_mdb_entry *mdst, struct sk_buff *skb) argument
339 br_multicast_forward(struct net_bridge_mdb_entry *mdst, struct sk_buff *skb, struct sk_buff *skb2) argument
[all...]
H A Dbr_netfilter.c45 #define skb_origaddr(skb) (((struct bridge_skb_cb *) \
46 (skb->nf_bridge->data))->daddr.ipv4)
47 #define store_orig_dstaddr(skb) (skb_origaddr(skb) = ip_hdr(skb)->daddr)
48 #define dnat_took_place(skb) (skb_origaddr(skb) != ip_hdr(skb)->daddr)
65 static inline __be16 vlan_proto(const struct sk_buff *skb) argument
67 return vlan_eth_hdr(skb)
85 pppoe_proto(const struct sk_buff *skb) argument
146 nf_bridge_alloc(struct sk_buff *skb) argument
155 nf_bridge_unshare(struct sk_buff *skb) argument
172 nf_bridge_push_encap_header(struct sk_buff *skb) argument
180 nf_bridge_pull_encap_header(struct sk_buff *skb) argument
188 nf_bridge_pull_encap_header_rcsum(struct sk_buff *skb) argument
196 nf_bridge_save_header(struct sk_buff *skb) argument
204 nf_bridge_update_protocol(struct sk_buff *skb) argument
215 nf_bridge_copy_header(struct sk_buff *skb) argument
235 br_nf_pre_routing_finish_ipv6(struct sk_buff *skb) argument
267 br_nf_pre_routing_finish_bridge(struct sk_buff *skb) argument
332 br_nf_pre_routing_finish(struct sk_buff *skb) argument
415 setup_pre_routing(struct sk_buff *skb) argument
436 check_hbh_len(struct sk_buff *skb) argument
492 br_nf_pre_routing_ipv6(unsigned int hook, struct sk_buff *skb, const struct net_device *in, const struct net_device *out, int (*okfn)(struct sk_buff *)) argument
545 br_nf_pre_routing(unsigned int hook, struct sk_buff *skb, const struct net_device *in, const struct net_device *out, int (*okfn)(struct sk_buff *)) argument
631 br_nf_local_in(unsigned int hook, struct sk_buff *skb, const struct net_device *in, const struct net_device *out, int (*okfn)(struct sk_buff *)) argument
645 br_nf_forward_finish(struct sk_buff *skb) argument
672 br_nf_forward_ip(unsigned int hook, struct sk_buff *skb, const struct net_device *in, const struct net_device *out, int (*okfn)(struct sk_buff *)) argument
724 br_nf_forward_arp(unsigned int hook, struct sk_buff *skb, const struct net_device *in, const struct net_device *out, int (*okfn)(struct sk_buff *)) argument
760 br_nf_dev_queue_xmit(struct sk_buff *skb) argument
772 br_nf_dev_queue_xmit(struct sk_buff *skb) argument
779 br_nf_post_routing(unsigned int hook, struct sk_buff *skb, const struct net_device *in, const struct net_device *out, int (*okfn)(struct sk_buff *)) argument
826 ip_sabotage_in(unsigned int hook, struct sk_buff *skb, const struct net_device *in, const struct net_device *out, int (*okfn)(struct sk_buff *)) argument
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/net/wireless/prism54/
H A Dislpci_eth.c42 struct sk_buff *skb; local
56 * free the skb structure and unmap pci memory */
57 skb = priv->data_low_tx[index];
61 "cleanup skb %p skb->data %p skb->len %u truesize %u\n ",
62 skb, skb->data, skb->len, skb
77 islpci_eth_transmit(struct sk_buff *skb, struct net_device *ndev) argument
246 islpci_monitor_rx(islpci_private *priv, struct sk_buff **skb) argument
314 struct sk_buff *skb; local
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/net/x25/
H A Dx25_dev.c17 * 2000-09-04 Henner Eisen Prevent freeing a dangling skb.
29 static int x25_receive_data(struct sk_buff *skb, struct x25_neigh *nb) argument
35 frametype = skb->data[2];
36 lci = ((skb->data[0] << 8) & 0xF00) + ((skb->data[1] << 0) & 0x0FF);
43 x25_link_control(skb, nb, frametype);
53 skb_reset_transport_header(skb);
56 queued = x25_process_rx_frame(sk, skb);
58 queued = !sk_add_backlog(sk, skb);
69 return x25_rx_call_request(skb, n
94 x25_lapb_receive_frame(struct sk_buff *skb, struct net_device *dev, struct packet_type *ptype, struct net_device *orig_dev) argument
145 struct sk_buff *skb; local
174 struct sk_buff *skb; local
198 x25_send_frame(struct sk_buff *skb, struct x25_neigh *nb) argument
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/net/rose/
H A Drose_loopback.c35 int rose_loopback_queue(struct sk_buff *skb, struct rose_neigh *neigh) argument
39 skbn = skb_clone(skb, GFP_ATOMIC);
41 kfree_skb(skb);
68 struct sk_buff *skb; local
75 while ((skb = skb_dequeue(&loopback_queue)) != NULL) {
76 lci_i = ((skb->data[0] << 8) & 0xF00) + ((skb->data[1] << 0) & 0x0FF);
77 frametype = skb->data[2];
78 dest = (rose_address *)(skb->data + 4);
81 skb_reset_transport_header(skb);
105 struct sk_buff *skb; local
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/net/lapb/
H A Dlapb_subr.c52 struct sk_buff *skb; local
62 skb = skb_dequeue(&lapb->ack_queue);
63 kfree_skb(skb);
70 struct sk_buff *skb, *skb_prev = NULL; local
77 while ((skb = skb_dequeue(&lapb->ack_queue)) != NULL) {
79 skb_queue_head(&lapb->write_queue, skb);
81 skb_append(skb_prev, skb, &lapb->write_queue);
82 skb_prev = skb;
110 int lapb_decode(struct lapb_cb *lapb, struct sk_buff *skb, argument
118 skb
232 struct sk_buff *skb; local
268 struct sk_buff *skb; local
[all...]

Completed in 161 milliseconds

1234567891011>>