Searched refs:nskb (Results 1 - 25 of 47) sorted by relevance

12

/asus-wl-520gu-7.0.1.45/src/linux/linux/net/ipv4/netfilter/
H A Dipt_REJECT.c36 struct sk_buff *nskb; local
65 nskb = skb_copy(oldskb, GFP_ATOMIC);
66 if (!nskb)
70 nf_conntrack_put(nskb->nfct);
71 nskb->nfct = NULL;
72 nskb->nfcache = 0;
74 nskb->nf_debug = 0;
76 nskb->nfmark = 0;
78 tcph = (struct tcphdr *)((u_int32_t*)nskb->nh.iph + nskb
160 struct sk_buff *nskb; local
[all...]
H A Dipt_ECN.c35 struct sk_buff *nskb = skb_copy(*pskb, GFP_ATOMIC); local
36 if (!nskb)
39 *pskb = nskb;
69 struct sk_buff *nskb = skb_copy(*pskb, GFP_ATOMIC); local
70 if (!nskb)
73 *pskb = nskb;
H A Dipt_DSCP.c43 struct sk_buff *nskb = skb_copy(*pskb, GFP_ATOMIC); local
44 if (!nskb)
47 *pskb = nskb;
H A Dipt_TOS.c27 struct sk_buff *nskb = skb_copy(*pskb, GFP_ATOMIC); local
28 if (!nskb)
31 *pskb = nskb;
H A Dip_nat_helper.c147 struct sk_buff *nskb = skb_copy(*skb, GFP_ATOMIC); local
148 if (!nskb) {
156 skb_set_owner_w(nskb, (*skb)->sk);
158 *skb = nskb;
236 struct sk_buff *nskb = skb_copy(*skb, GFP_ATOMIC); local
237 if (!nskb) {
245 skb_set_owner_w(nskb, (*skb)->sk);
247 *skb = nskb;
H A Dip_fw_compat.c90 struct sk_buff *nskb = skb_copy(*pskb, GFP_ATOMIC); local
91 if (!nskb)
94 *pskb = nskb;
H A Dipt_TCPMSS.c51 struct sk_buff *nskb = skb_copy(*pskb, GFP_ATOMIC); local
52 if (!nskb)
55 *pskb = nskb;
H A Dip_queue.c273 struct sk_buff *nskb; local
296 nskb = ipq_build_packet_message(entry, &status);
297 if (nskb == NULL)
305 status = netlink_unicast(ipqnl, nskb, peer_pid, MSG_DONTWAIT);
/asus-wl-520gu-7.0.1.45/src/linux/linux/net/ipv4/netfilter.noQoS/
H A Dipt_REJECT.c36 struct sk_buff *nskb; local
65 nskb = skb_copy(oldskb, GFP_ATOMIC);
66 if (!nskb)
70 nf_conntrack_put(nskb->nfct);
71 nskb->nfct = NULL;
72 nskb->nfcache = 0;
74 nskb->nf_debug = 0;
76 nskb->nfmark = 0;
78 tcph = (struct tcphdr *)((u_int32_t*)nskb->nh.iph + nskb
160 struct sk_buff *nskb; local
[all...]
H A Dipt_ECN.c35 struct sk_buff *nskb = skb_copy(*pskb, GFP_ATOMIC); local
36 if (!nskb)
39 *pskb = nskb;
69 struct sk_buff *nskb = skb_copy(*pskb, GFP_ATOMIC); local
70 if (!nskb)
73 *pskb = nskb;
H A Dipt_DSCP.c43 struct sk_buff *nskb = skb_copy(*pskb, GFP_ATOMIC); local
44 if (!nskb)
47 *pskb = nskb;
H A Dipt_TOS.c27 struct sk_buff *nskb = skb_copy(*pskb, GFP_ATOMIC); local
28 if (!nskb)
31 *pskb = nskb;
H A Dip_nat_helper.c147 struct sk_buff *nskb = skb_copy(*skb, GFP_ATOMIC); local
148 if (!nskb) {
156 skb_set_owner_w(nskb, (*skb)->sk);
158 *skb = nskb;
236 struct sk_buff *nskb = skb_copy(*skb, GFP_ATOMIC); local
237 if (!nskb) {
245 skb_set_owner_w(nskb, (*skb)->sk);
247 *skb = nskb;
H A Dip_fw_compat.c90 struct sk_buff *nskb = skb_copy(*pskb, GFP_ATOMIC); local
91 if (!nskb)
94 *pskb = nskb;
H A Dipt_TCPMSS.c51 struct sk_buff *nskb = skb_copy(*pskb, GFP_ATOMIC); local
52 if (!nskb)
55 *pskb = nskb;
/asus-wl-520gu-7.0.1.45/src/linux/linux/net/bluetooth/bnep/
H A Dcore.c291 struct sk_buff *nskb; local
330 nskb = alloc_skb(2 + ETH_HLEN + skb->len, GFP_KERNEL);
331 if (!nskb) {
336 skb_reserve(nskb, 2);
341 memcpy(__skb_put(nskb, ETH_HLEN), &s->eh, ETH_HLEN);
345 memcpy(__skb_put(nskb, ETH_ALEN), s->eh.h_dest, ETH_ALEN);
346 memcpy(__skb_put(nskb, ETH_ALEN), skb->mac.raw, ETH_ALEN);
347 put_unaligned(s->eh.h_proto, (__u16 *) __skb_put(nskb, 2));
351 memcpy(__skb_put(nskb, ETH_ALEN), skb->mac.raw, ETH_ALEN);
352 memcpy(__skb_put(nskb, ETH_ALE
[all...]
/asus-wl-520gu-7.0.1.45/src/shared/
H A Dlinux_osl.c195 struct sk_buff *skb, *nskb; local
204 nskb = skb->next;
222 skb = nskb;
870 struct sk_buff *nskb; local
876 for (nskb = (struct sk_buff *)pkt; nskb; nskb = nskb->next) {
878 pktlist_remove(&(osh->pktlist), (void *) nskb);
893 struct sk_buff *nskb; local
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/isdn/
H A Disdn_v110.c463 struct sk_buff *nskb; local
483 if (!(nskb = dev_alloc_skb(size + v->skbres + sizeof(int)))) {
487 skb_reserve(nskb, v->skbres + sizeof(int));
489 memcpy(skb_put(nskb, v->framelen), v->OnlineFrame, v->framelen);
490 *((int *)skb_push(nskb, sizeof(int))) = 0;
491 return nskb;
495 rbuf = skb_put(nskb, size);
512 skb_trim(nskb, olen);
513 *((int *)skb_push(nskb, sizeof(int))) = rlen;
514 return nskb;
[all...]
/asus-wl-520gu-7.0.1.45/src/include/
H A Dlinux_osl.h327 struct sk_buff *nskb; local
333 for (nskb = skb; nskb; nskb = nskb->next) {
335 osl_pktlist_add((osl_t *)osh, (void *) nskb);
352 struct sk_buff *nskb; local
358 for (nskb = (struct sk_buff *)pkt; nskb; nskb
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/net/bluetooth/
H A Dhci_sock.c96 struct sk_buff *nskb; local
124 if (!(nskb = skb_clone(skb, GFP_ATOMIC)))
128 memcpy(skb_push(nskb, 1), &nskb->pkt_type, 1);
130 if (sock_queue_rcv_skb(sk, nskb))
131 kfree_skb(nskb);
/asus-wl-520gu-7.0.1.45/src/router/iproute2/reference/linux/
H A Dskbuff.h346 struct sk_buff *nskb; local
347 nskb = skb_clone(skb, pri);
349 return nskb;
378 struct sk_buff *nskb; local
381 nskb=skb_copy(skb, pri);
383 return nskb;
/asus-wl-520gu-7.0.1.45/src/linux/linux/include/linux/
H A Dskbuff.h346 struct sk_buff *nskb; local
347 nskb = skb_clone(skb, pri);
349 return nskb;
378 struct sk_buff *nskb; local
381 nskb=skb_copy(skb, pri);
383 return nskb;
/asus-wl-520gu-7.0.1.45/src/linux/linux/net/core/
H A Dnetfilter.c604 struct sk_buff *nskb; local
606 nskb = skb_realloc_headroom(*pskb,
608 if (!nskb) {
613 skb_set_owner_w(nskb, (*pskb)->sk);
615 *pskb = nskb;
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/isdn/avmb1/
H A Dcapi.c445 struct sk_buff *nskb; local
446 nskb = alloc_skb(CAPI_DATA_B3_RESP_LEN, GFP_ATOMIC);
447 if (nskb) {
449 unsigned char *s = skb_put(nskb, CAPI_DATA_B3_RESP_LEN);
458 return nskb;
463 struct sk_buff *nskb; local
486 if ((nskb = gen_data_b3_resp_for(mp, skb)) == 0) {
491 errcode = (*capifuncs->capi_put_message)(mp->applid, nskb);
495 kfree_skb(nskb);
514 if ((nskb
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/s390/net/
H A Dnetiucv.c1103 struct sk_buff *nskb = skb;
1112 nskb = alloc_skb(skb->len + NETIUCV_HDRLEN +
1114 if (!nskb) {
1120 skb_reserve(nskb, NETIUCV_HDRLEN);
1121 memcpy(skb_put(nskb, skb->len),
1129 header.next = nskb->len + NETIUCV_HDRLEN;
1130 memcpy(skb_push(nskb, NETIUCV_HDRLEN), &header, NETIUCV_HDRLEN);
1132 memcpy(skb_put(nskb, NETIUCV_HDRLEN), &header, NETIUCV_HDRLEN);
1141 /* Shut up, gcc! nskb is always below 2G. */
1142 (__u32)(((unsigned long)nskb)
1096 struct sk_buff *nskb = skb; local
[all...]

Completed in 278 milliseconds

12