/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/net/decnet/ |
H A D | dn_neigh.c | 193 static void dn_long_error_report(struct neighbour *neigh, struct sk_buff *skb) argument 196 kfree_skb(skb); 200 static void dn_short_error_report(struct neighbour *neigh, struct sk_buff *skb) argument 203 kfree_skb(skb); 206 static int dn_neigh_output_packet(struct sk_buff *skb) argument 208 struct dst_entry *dst = skb_dst(skb); 215 if (dev_hard_header(skb, dev, ntohs(skb->protocol), neigh->ha, 216 mac_addr, skb->len) >= 0) 217 return neigh->ops->queue_xmit(skb); 226 dn_long_output(struct sk_buff *skb) argument 273 dn_short_output(struct sk_buff *skb) argument 317 dn_phase3_output(struct sk_buff *skb) argument 366 dn_neigh_pointopoint_hello(struct sk_buff *skb) argument 374 dn_neigh_router_hello(struct sk_buff *skb) argument 436 dn_neigh_endnode_hello(struct sk_buff *skb) argument [all...] |
H A D | dn_route.c | 23 * Fixed possible skb leak in rtnetlink funcs. 265 static void dn_dst_link_failure(struct sk_buff *skb) argument 374 * @skb: The packet to return 377 static int dn_return_short(struct sk_buff *skb) argument 385 skb_push(skb, skb->data - skb_network_header(skb)); 387 if ((skb = skb_unshare(skb, GFP_ATOMIC)) == NULL) 390 cb = DN_SKB_CB(skb); 413 dn_return_long(struct sk_buff *skb) argument 460 dn_route_rx_packet(struct sk_buff *skb) argument 491 dn_route_rx_long(struct sk_buff *skb) argument 530 dn_route_rx_short(struct sk_buff *skb) argument 555 dn_route_discard(struct sk_buff *skb) argument 565 dn_route_ptp_hello(struct sk_buff *skb) argument 572 dn_route_rcv(struct sk_buff *skb, struct net_device *dev, struct packet_type *pt, struct net_device *orig_dev) argument 689 dn_output(struct sk_buff *skb) argument 728 dn_forward(struct sk_buff *skb) argument 778 dn_rt_bug(struct sk_buff *skb) argument 1212 dn_route_input_slow(struct sk_buff *skb) argument 1434 dn_route_input(struct sk_buff *skb) argument 1462 dn_rt_fill_info(struct sk_buff *skb, u32 pid, u32 seq, int event, int nowait, unsigned int flags) argument 1529 struct sk_buff *skb; local 1610 dn_cache_dump(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/net/rose/ |
H A D | rose_in.c | 40 static int rose_state1_machine(struct sock *sk, struct sk_buff *skb, int frametype) argument 61 rose_disconnect(sk, ECONNREFUSED, skb->data[3], skb->data[4]); 77 static int rose_state2_machine(struct sock *sk, struct sk_buff *skb, int frametype) argument 84 rose_disconnect(sk, 0, skb->data[3], skb->data[4]); 105 static int rose_state3_machine(struct sock *sk, struct sk_buff *skb, int frametype, int ns, int nr, int q, int d, int m) argument 125 rose_disconnect(sk, 0, skb->data[3], skb->data[4]); 168 if (sock_queue_rcv_skb(sk, skb) 215 rose_state4_machine(struct sock *sk, struct sk_buff *skb, int frametype) argument 252 rose_state5_machine(struct sock *sk, struct sk_buff *skb, int frametype) argument 264 rose_process_rx_frame(struct sock *sk, struct sk_buff *skb) argument [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/net/bridge/netfilter/ |
H A D | ebt_ulog.c | 58 unsigned int qlen; /* number of nlmsgs' in the skb */ 59 struct nlmsghdr *lastnlh; /* netlink header of last msg in skb */ 60 struct sk_buff *skb; /* the pre-allocated skb */ member in struct:__anon18863 76 if (!ub->skb) 83 NETLINK_CB(ub->skb).dst_group = nlgroup + 1; 84 netlink_broadcast(ebtulognl, ub->skb, 0, nlgroup + 1, GFP_ATOMIC); 87 ub->skb = NULL; 94 if (ulog_buffers[data].skb) 101 struct sk_buff *skb; local 121 ebt_ulog_packet(unsigned int hooknr, const struct sk_buff *skb, const struct net_device *in, const struct net_device *out, const struct ebt_ulog_info *uloginfo, const char *prefix) argument 225 ebt_log_packet(u_int8_t pf, unsigned int hooknum, const struct sk_buff *skb, const struct net_device *in, const struct net_device *out, const struct nf_loginfo *li, const char *prefix) argument 248 ebt_ulog_tg(struct sk_buff *skb, const struct xt_action_param *par) argument [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/isdn/mISDN/ |
H A D | layer2.c | 137 l2up(struct layer2 *l2, u_int prim, struct sk_buff *skb) argument 143 mISDN_HEAD_PRIM(skb) = prim; 144 mISDN_HEAD_ID(skb) = (l2->ch.nr << 16) | l2->ch.addr; 145 err = l2->up->send(l2->up, skb); 148 dev_kfree_skb(skb); 155 struct sk_buff *skb; local 161 skb = mI_alloc_skb(len, GFP_ATOMIC); 162 if (!skb) 164 hh = mISDN_HEAD_P(skb); 168 memcpy(skb_put(skb, le 177 l2down_skb(struct layer2 *l2, struct sk_buff *skb) argument 187 l2down_raw(struct layer2 *l2, struct sk_buff *skb) argument 202 l2down(struct layer2 *l2, u_int prim, u_int id, struct sk_buff *skb) argument 214 struct sk_buff *skb; local 233 ph_data_confirm(struct layer2 *l2, struct mISDNhead *hh, struct sk_buff *skb) argument 385 enqueue_super(struct layer2 *l2, struct sk_buff *skb) argument 392 enqueue_ui(struct layer2 *l2, struct sk_buff *skb) argument 472 iframe_error(struct layer2 *l2, struct sk_buff *skb) argument 490 super_error(struct layer2 *l2, struct sk_buff *skb) argument 499 unnum_error(struct layer2 *l2, struct sk_buff *skb, int wantrsp) argument 512 UI_error(struct layer2 *l2, struct sk_buff *skb) argument 525 FRMR_error(struct layer2 *l2, struct sk_buff *skb) argument 565 struct sk_buff *skb; local 588 send_uframe(struct layer2 *l2, struct sk_buff *skb, u_char cmd, u_char cr) argument 611 get_PollFlag(struct layer2 *l2, struct sk_buff *skb) argument 617 get_PollFlagFree(struct layer2 *l2, struct sk_buff *skb) argument 687 struct sk_buff *skb = arg; local 700 struct sk_buff *skb = arg; local 715 struct sk_buff *skb = arg; local 747 struct sk_buff *skb = arg; local 758 struct sk_buff *skb = arg; local 766 struct sk_buff *skb; local 784 struct sk_buff *skb = arg; local 794 struct sk_buff *skb = arg; local 809 struct sk_buff *skb = arg; local 820 struct sk_buff *skb = arg; local 832 struct sk_buff *skb = arg; local 845 struct sk_buff *skb = arg; local 854 struct sk_buff *skb = arg; local 865 struct sk_buff *skb = arg; local 882 struct sk_buff *skb = arg; local 902 struct sk_buff *skb = arg; local 911 struct sk_buff *skb = arg; local 920 struct sk_buff *skb = arg; local 955 struct sk_buff *skb = arg; local 973 struct sk_buff *skb = arg; local 1010 struct sk_buff *skb = arg; local 1028 struct sk_buff *skb = arg; local 1040 struct sk_buff *skb = arg; local 1060 struct sk_buff *skb = arg; local 1074 struct sk_buff *skb; local 1158 struct sk_buff *skb = arg; local 1219 struct sk_buff *skb = arg; local 1231 struct sk_buff *skb = arg; local 1241 struct sk_buff *skb = arg; local 1250 struct sk_buff *skb = arg; local 1441 struct sk_buff *skb, *nskb, *oskb; local 1503 struct sk_buff *skb = arg; local 1557 struct sk_buff *skb = arg; local 1640 struct sk_buff *skb = arg; local 1654 struct sk_buff *skb = arg; local 1671 struct sk_buff *skb = arg; local 1685 struct sk_buff *skb = arg; local 1702 struct sk_buff *skb = arg; local 1716 struct sk_buff *skb = arg; local 1837 ph_data_indication(struct layer2 *l2, struct mISDNhead *hh, struct sk_buff *skb) argument 1920 l2_send(struct mISDNchannel *ch, struct sk_buff *skb) argument [all...] |
H A D | hwchannel.c | 26 struct sk_buff *skb; local 30 while ((skb = skb_dequeue(&dch->rqueue))) { 32 err = dch->dev.D.recv(dch->dev.D.peer, skb); 34 dev_kfree_skb(skb); 36 dev_kfree_skb(skb); 49 struct sk_buff *skb; local 53 while ((skb = skb_dequeue(&bch->rqueue))) { 56 err = bch->ch.recv(bch->ch.peer, skb); 58 dev_kfree_skb(skb); 60 dev_kfree_skb(skb); 222 recv_Dchannel_skb(struct dchannel *dch, struct sk_buff *skb) argument 230 recv_Bchannel_skb(struct bchannel *bch, struct sk_buff *skb) argument 247 struct sk_buff *skb; local 278 struct sk_buff *skb; local 323 queue_ch_frame(struct mISDNchannel *ch, u_int pr, int id, struct sk_buff *skb) argument 343 dchannel_senddata(struct dchannel *ch, struct sk_buff *skb) argument 369 bchannel_senddata(struct bchannel *ch, struct sk_buff *skb) argument [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/isdn/hysdn/ |
H A D | hycapi.c | 47 static u16 hycapi_send_message(struct capi_ctr *ctrl, struct sk_buff *skb); 117 hycapi_sendmsg_internal(struct capi_ctr *ctrl, struct sk_buff *skb) argument 126 cinfo->skbs[cinfo->in_idx++] = skb; /* add to buffer list */ 136 cinfo->tx_skb = skb; 157 struct sk_buff *skb; local 169 if (!(skb = alloc_skb(len, GFP_ATOMIC))) { 174 memcpy(skb_put(skb,sizeof(__u16)), &len, sizeof(__u16)); 175 memcpy(skb_put(skb,sizeof(__u16)), &appl, sizeof(__u16)); 176 memcpy(skb_put(skb,sizeof(__u8)), &_command, sizeof(_command)); 177 memcpy(skb_put(skb,sizeo 199 struct sk_buff *skb; local 266 struct sk_buff *skb; local 371 hycapi_send_message(struct capi_ctr *ctrl, struct sk_buff *skb) argument 530 struct sk_buff *skb; local [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/net/ |
H A D | virtio_net.c | 87 static inline struct skb_vnet_hdr *skb_vnet_hdr(struct sk_buff *skb) argument 89 return (struct skb_vnet_hdr *)skb->cb; 130 static void set_skb_frag(struct sk_buff *skb, struct page *page, argument 133 int i = skb_shinfo(skb)->nr_frags; 136 f = &skb_shinfo(skb)->frags[i]; 141 skb->data_len += f->size; 142 skb->len += f->size; 143 skb_shinfo(skb)->nr_frags++; 150 struct sk_buff *skb; local 158 skb 197 receive_mergeable(struct virtnet_info *vi, struct sk_buff *skb) argument 232 struct sk_buff *skb; local 327 struct sk_buff *skb; local 513 struct sk_buff *skb; local 526 xmit_skb(struct virtnet_info *vi, struct sk_buff *skb) argument 573 start_xmit(struct sk_buff *skb, struct net_device *dev) argument [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/net/ipv4/ |
H A D | xfrm4_state.c | 54 int xfrm4_extract_header(struct sk_buff *skb) argument 56 struct iphdr *iph = ip_hdr(skb); 58 XFRM_MODE_SKB_CB(skb)->ihl = sizeof(*iph); 59 XFRM_MODE_SKB_CB(skb)->id = iph->id; 60 XFRM_MODE_SKB_CB(skb)->frag_off = iph->frag_off; 61 XFRM_MODE_SKB_CB(skb)->tos = iph->tos; 62 XFRM_MODE_SKB_CB(skb)->ttl = iph->ttl; 63 XFRM_MODE_SKB_CB(skb)->optlen = iph->ihl * 4 - sizeof(*iph); 64 memset(XFRM_MODE_SKB_CB(skb)->flow_lbl, 0, 65 sizeof(XFRM_MODE_SKB_CB(skb) [all...] |
H A D | tunnel4.c | 76 static int tunnel4_rcv(struct sk_buff *skb) argument 80 if (!pskb_may_pull(skb, sizeof(struct iphdr))) 84 if (!handler->handler(skb)) 87 icmp_send(skb, ICMP_DEST_UNREACH, ICMP_PORT_UNREACH, 0); 90 kfree_skb(skb); 95 static int tunnel64_rcv(struct sk_buff *skb) argument 99 if (!pskb_may_pull(skb, sizeof(struct ipv6hdr))) 103 if (!handler->handler(skb)) 106 icmp_send(skb, ICMP_DEST_UNREACH, ICMP_PORT_UNREACH, 0); 109 kfree_skb(skb); 114 tunnel4_err(struct sk_buff *skb, u32 info) argument 124 tunnel64_err(struct sk_buff *skb, u32 info) argument [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/net/netfilter/ |
H A D | xt_TPROXY.c | 28 tproxy_tg(struct sk_buff *skb, const struct xt_action_param *par) argument 30 const struct iphdr *iph = ip_hdr(skb); 35 hp = skb_header_pointer(skb, ip_hdrlen(skb), sizeof(_hdr), &_hdr); 39 sk = nf_tproxy_get_sock_v4(dev_net(skb->dev), iph->protocol, 47 if (sk && nf_tproxy_assign_sock(skb, sk)) { 50 skb->mark = (skb->mark & ~tgi->mark_mask) ^ tgi->mark_value; 54 ntohl(tgi->laddr), ntohs(tgi->lport), skb->mark); 60 ntohl(tgi->laddr), ntohs(tgi->lport), skb [all...] |
H A D | nf_conntrack_netlink.c | 57 ctnetlink_dump_tuples_proto(struct sk_buff *skb, argument 64 nest_parms = nla_nest_start(skb, CTA_TUPLE_PROTO | NLA_F_NESTED); 67 NLA_PUT_U8(skb, CTA_PROTO_NUM, tuple->dst.protonum); 70 ret = l4proto->tuple_to_nlattr(skb, tuple); 72 nla_nest_end(skb, nest_parms); 81 ctnetlink_dump_tuples_ip(struct sk_buff *skb, argument 88 nest_parms = nla_nest_start(skb, CTA_TUPLE_IP | NLA_F_NESTED); 93 ret = l3proto->tuple_to_nlattr(skb, tuple); 95 nla_nest_end(skb, nest_parms); 104 ctnetlink_dump_tuples(struct sk_buff *skb, argument 124 ctnetlink_dump_status(struct sk_buff *skb, const struct nf_conn *ct) argument 134 ctnetlink_dump_timeout(struct sk_buff *skb, const struct nf_conn *ct) argument 149 ctnetlink_dump_protoinfo(struct sk_buff *skb, struct nf_conn *ct) argument 174 ctnetlink_dump_helpinfo(struct sk_buff *skb, const struct nf_conn *ct) argument 204 ctnetlink_dump_counters(struct sk_buff *skb, const struct nf_conn *ct, enum ip_conntrack_dir dir) argument 234 ctnetlink_dump_mark(struct sk_buff *skb, const struct nf_conn *ct) argument 248 ctnetlink_dump_secmark(struct sk_buff *skb, const struct nf_conn *ct) argument 263 ctnetlink_dump_master(struct sk_buff *skb, const struct nf_conn *ct) argument 285 dump_nat_seq_adj(struct sk_buff *skb, const struct nf_nat_seq *natseq, int type) argument 309 ctnetlink_dump_nat_seq_adj(struct sk_buff *skb, const struct nf_conn *ct) argument 332 ctnetlink_dump_id(struct sk_buff *skb, const struct nf_conn *ct) argument 342 ctnetlink_dump_use(struct sk_buff *skb, const struct nf_conn *ct) argument 352 ctnetlink_fill_info(struct sk_buff *skb, u32 pid, u32 seq, int event, struct nf_conn *ct) argument 477 struct sk_buff *skb; local 608 ctnetlink_dump_table(struct sk_buff *skb, struct netlink_callback *cb) argument 820 ctnetlink_del_conntrack(struct sock *ctnl, struct sk_buff *skb, const struct nlmsghdr *nlh, const struct nlattr * const cda[]) argument 886 ctnetlink_get_conntrack(struct sock *ctnl, struct sk_buff *skb, const struct nlmsghdr *nlh, const struct nlattr * const cda[]) argument 1395 ctnetlink_new_conntrack(struct sock *ctnl, struct sk_buff *skb, const struct nlmsghdr *nlh, const struct nlattr * const cda[]) argument 1500 ctnetlink_exp_dump_tuple(struct sk_buff *skb, const struct nf_conntrack_tuple *tuple, enum ctattr_expect type) argument 1520 ctnetlink_exp_dump_mask(struct sk_buff *skb, const struct nf_conntrack_tuple *tuple, const struct nf_conntrack_tuple_mask *mask) argument 1559 ctnetlink_exp_dump_expect(struct sk_buff *skb, const struct nf_conntrack_expect *exp) argument 1591 ctnetlink_exp_fill_info(struct sk_buff *skb, u32 pid, u32 seq, int event, const struct nf_conntrack_expect *exp) argument 1628 struct sk_buff *skb; local 1684 ctnetlink_exp_dump_table(struct sk_buff *skb, struct netlink_callback *cb) argument 1739 ctnetlink_get_expect(struct sock *ctnl, struct sk_buff *skb, const struct nlmsghdr *nlh, const struct nlattr * const cda[]) argument 1806 ctnetlink_del_expect(struct sock *ctnl, struct sk_buff *skb, const struct nlmsghdr *nlh, const struct nlattr * const cda[]) argument 1953 ctnetlink_new_expect(struct sock *ctnl, struct sk_buff *skb, const struct nlmsghdr *nlh, const struct nlattr * const cda[]) argument [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/net/802/ |
H A D | psnap.c | 49 static int snap_rcv(struct sk_buff *skb, struct net_device *dev, argument 58 if (unlikely(!pskb_may_pull(skb, 5))) 62 proto = find_snap_client(skb_transport_header(skb)); 65 skb->transport_header += 5; 66 skb_pull_rcsum(skb, 5); 67 rc = proto->rcvfunc(skb, dev, &snap_packet_type, orig_dev); 78 kfree_skb(skb); 86 struct sk_buff *skb, u8 *dest) 88 memcpy(skb_push(skb, 5), dl->type, 5); 89 llc_build_and_send_ui_pkt(snap_sap, skb, des 85 snap_request(struct datalink_proto *dl, struct sk_buff *skb, u8 *dest) argument [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/isdn/capi/ |
H A D | capi.c | 406 gen_data_b3_resp_for(struct capiminor *mp, struct sk_buff *skb) argument 411 u16 datahandle = CAPIMSG_U16(skb->data,CAPIMSG_BASELEN+4+4+2); 424 static int handle_recv_skb(struct capiminor *mp, struct sk_buff *skb) argument 426 unsigned int datalen = skb->len - CAPIMSG_LEN(skb->data); 445 kfree_skb(skb); 470 nskb = gen_data_b3_resp_for(mp, skb); 476 datahandle = CAPIMSG_U16(skb->data, CAPIMSG_BASELEN + 4); 481 skb_pull(skb, CAPIMSG_LEN(skb 510 struct sk_buff *skb; local 522 struct sk_buff *skb; local 605 capi_recv_message(struct capi20_appl *ap, struct sk_buff *skb) argument 695 struct sk_buff *skb; local 730 struct sk_buff *skb; local 1096 struct sk_buff *skb; local 1133 struct sk_buff *skb; local 1175 struct sk_buff *skb; local [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/net/usb/ |
H A D | int51x1.c | 50 static int int51x1_rx_fixup(struct usbnet *dev, struct sk_buff *skb) argument 54 if (!(pskb_may_pull(skb, INT51X1_HEADER_SIZE))) { 59 len = le16_to_cpu(*(__le16 *)&skb->data[skb->len - 2]); 61 skb_trim(skb, len); 67 struct sk_buff *skb, gfp_t flags) 69 int pack_len = skb->len; 71 int headroom = skb_headroom(skb); 72 int tailroom = skb_tailroom(skb); 87 if (!skb_cloned(skb) 66 int51x1_tx_fixup(struct usbnet *dev, struct sk_buff *skb, gfp_t flags) argument [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/connector/ |
H A D | connector.c | 69 struct sk_buff *skb; local 99 skb = alloc_skb(size, gfp_mask); 100 if (!skb) 103 nlh = NLMSG_PUT(skb, 0, msg->seq, NLMSG_DONE, size - sizeof(*nlh)); 109 NETLINK_CB(skb).dst_group = group; 111 return netlink_broadcast(dev->nls, skb, 0, group, gfp_mask); 114 kfree_skb(skb); 122 static int cn_call_callback(struct sk_buff *skb) argument 126 struct cn_msg *msg = NLMSG_DATA(nlmsg_hdr(skb)); 133 __cbq->data.skb 182 struct sk_buff *skb; local [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/net/wimax/ |
H A D | op-msg.c | 88 * wimax_msg_alloc - Create a new skb for sending a message to userspace 100 * Allocates an skb that will contain the message to send to user 109 * Don't use skb_push()/skb_pull()/skb_reserve() on the skb, as 110 * wimax_msg_send() depends on skb->data being placed at the 128 struct sk_buff *skb; local 134 skb = genlmsg_new(msg_size, gfp_flags); 135 if (skb == NULL) 137 genl_msg = genlmsg_put(skb, 0, 0, &wimax_gnl_family, 143 result = nla_put_u32(skb, WIMAX_GNL_MSG_IFIDX, 150 result = nla_put_string(skb, WIMAX_GNL_MSG_PIPE_NAM 272 wimax_msg_send(struct wimax_dev *wimax_dev, struct sk_buff *skb) argument 312 struct sk_buff *skb; local 343 wimax_gnl_doit_msg_from_user(struct sk_buff *skb, struct genl_info *info) argument [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/net/bluetooth/cmtp/ |
H A D | core.c | 110 struct sk_buff *skb = session->reassembly[id], *nskb; local 115 size = (skb) ? skb->len + count : count; 122 if (skb && (skb->len > 0)) 123 skb_copy_from_linear_data(skb, skb_put(nskb, skb->len), skb->len); 129 kfree_skb(skb); 132 static inline int cmtp_recv_frame(struct cmtp_session *session, struct sk_buff *skb) argument 212 struct sk_buff *skb, *nskb; local 278 struct sk_buff *skb; local [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/isdn/i4l/ |
H A D | isdn_ppp.c | 32 struct sk_buff *skb, int proto); 38 struct sk_buff *skb,int proto); 42 struct sk_buff *skb); 69 struct sk_buff *skb); 833 struct sk_buff *skb; local 840 skb = alloc_skb(hl+count, GFP_ATOMIC); 841 if (!skb) { 845 skb_reserve(skb, hl); 846 if (copy_from_user(skb_put(skb, count), buf, count)) 848 kfree_skb(skb); 919 isdn_ppp_skip_ac(struct ippp_struct *is, struct sk_buff *skb) argument 945 isdn_ppp_strip_proto(struct sk_buff *skb) argument 969 isdn_ppp_receive(isdn_net_dev * net_dev, isdn_net_local * lp, struct sk_buff *skb) argument 1025 isdn_ppp_push_higher(isdn_net_dev * net_dev, isdn_net_local * lp, struct sk_buff *skb, int proto) argument 1189 struct sk_buff *skb = *skb_p; local 1216 isdn_ppp_xmit(struct sk_buff *skb, struct net_device *netdev) argument 1461 isdn_ppp_autodial_filter(struct sk_buff *skb, isdn_net_local *lp) argument 1587 isdn_ppp_mp_receive(isdn_net_dev * net_dev, isdn_net_local * lp, struct sk_buff *skb) argument 1820 isdn_ppp_mp_get_seq( int short_seq, struct sk_buff * skb, u32 last_seq ) argument 1871 struct sk_buff * skb; local 1919 isdn_ppp_mp_free_skb(ippp_bundle * mp, struct sk_buff * skb) argument 2199 struct sk_buff *skb; local 2500 isdn_ppp_decompress(struct sk_buff *skb,struct ippp_struct *is,struct ippp_struct *master, int *proto) argument 2643 isdn_ppp_receive_ccp(isdn_net_dev *net_dev, isdn_net_local *lp, struct sk_buff *skb,int proto) argument 2820 isdn_ppp_send_ccp(isdn_net_dev *net_dev, isdn_net_local *lp, struct sk_buff *skb) argument [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/net/arcnet/ |
H A D | arc-rawmode.c | 41 static int build_header(struct sk_buff *skb, struct net_device *dev, 92 struct sk_buff *skb; local 103 skb = alloc_skb(length + ARC_HDR_SIZE, GFP_ATOMIC); 104 if (skb == NULL) { 109 skb_put(skb, length + ARC_HDR_SIZE); 110 skb->dev = dev; 112 pkt = (struct archdr *) skb->data; 114 skb_reset_mac_header(skb); 115 skb_pull(skb, ARC_HDR_SIZE); 124 BUGLVL(D_SKB) arcnet_dump_skb(dev, skb, "r 135 build_header(struct sk_buff *skb, struct net_device *dev, unsigned short type, uint8_t daddr) argument [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/scsi/cxgb3i/ |
H A D | cxgb3i_offload.h | 47 * @cpl_close: skb for cpl_close_req 48 * @cpl_abort_req: skb for cpl_abort_req 49 * @cpl_abort_rpl: skb for cpl_abort_rpl 204 #define CXGB3_SKB_CB(skb) ((struct cxgb3_skb_cb *)&((skb)->cb[0])) 205 #define skb_flags(skb) (CXGB3_SKB_CB(skb)->flags) 206 #define skb_ulp_mode(skb) (CXGB3_SKB_CB(skb)->ulp_mode) 207 #define skb_tcp_seq(skb) (CXGB3_SKB_C [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/net/sunrpc/ |
H A D | socklib.c | 20 * xdr_skb_read_bits - copy some data bits from skb to internal buffer 32 if (unlikely(skb_copy_bits(desc->skb, desc->offset, to, len))) 41 * xdr_skb_read_and_csum_bits - copy and checksum from skb to buffer 56 csum2 = skb_copy_and_csum_bits(desc->skb, pos, to, len, 0); 64 * xdr_partial_copy_from_skb - copy data out of an skb 147 * @skb: source skb 152 int csum_partial_copy_to_xdr(struct xdr_buf *xdr, struct sk_buff *skb) argument 156 desc.skb = skb; [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/include/net/bluetooth/ |
H A D | bluetooth.h | 146 #define bt_cb(skb) ((struct bt_skb_cb *)((skb)->cb)) 150 struct sk_buff *skb; local 152 if ((skb = alloc_skb(len + BT_SKB_RESERVE, how))) { 153 skb_reserve(skb, BT_SKB_RESERVE); 154 bt_cb(skb)->incoming = 0; 156 return skb; 162 struct sk_buff *skb; local 165 if ((skb = sock_alloc_send_skb(sk, len + BT_SKB_RESERVE, nb, err))) { 166 skb_reserve(skb, BT_SKB_RESERV [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/net/irda/ |
H A D | irttp.c | 47 struct sk_buff *skb); 49 struct sk_buff *skb); 54 __u8 header_size, struct sk_buff *skb); 57 __u8 header_size, struct sk_buff *skb); 62 static void irttp_fragment_skb(struct tsap_cb *self, struct sk_buff *skb); 207 struct sk_buff* skb; local 215 while ((skb = skb_dequeue(&self->tx_queue)) != NULL) 216 dev_kfree_skb(skb); 219 while ((skb = skb_dequeue(&self->rx_queue)) != NULL) 220 dev_kfree_skb(skb); 236 struct sk_buff *skb, *frag; local 291 irttp_fragment_skb(struct tsap_cb *self, struct sk_buff *skb) argument 551 irttp_udata_request(struct tsap_cb *self, struct sk_buff *skb) argument 590 irttp_data_request(struct tsap_cb *self, struct sk_buff *skb) argument 703 struct sk_buff *skb; local 860 irttp_udata_indication(void *instance, void *sap, struct sk_buff *skb) argument 896 irttp_data_indication(void *instance, void *sap, struct sk_buff *skb) argument 1185 irttp_connect_confirm(void *instance, void *sap, struct qos_info *qos, __u32 max_seg_size, __u8 max_header_size, struct sk_buff *skb) argument 1270 irttp_connect_indication(void *instance, void *sap, struct qos_info *qos, __u32 max_seg_size, __u8 max_header_size, struct sk_buff *skb) argument 1584 irttp_disconnect_indication(void *instance, void *sap, LM_REASON reason, struct sk_buff *skb) argument 1631 irttp_do_data_indication(struct tsap_cb *self, struct sk_buff *skb) argument 1671 struct sk_buff *skb; local [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/net/llc/ |
H A D | llc_c_ac.c | 32 static int llc_conn_ac_inc_vs_by_1(struct sock *sk, struct sk_buff *skb); 33 static void llc_process_tmr_ev(struct sock *sk, struct sk_buff *skb); 36 static int llc_conn_ac_inc_npta_value(struct sock *sk, struct sk_buff *skb); 39 struct sk_buff *skb); 41 static int llc_conn_ac_set_p_flag_1(struct sock *sk, struct sk_buff *skb); 45 int llc_conn_ac_clear_remote_busy(struct sock *sk, struct sk_buff *skb) argument 51 struct llc_pdu_sn *pdu = llc_pdu_sn_hdr(skb); 61 int llc_conn_ac_conn_ind(struct sock *sk, struct sk_buff *skb) argument 63 struct llc_conn_state_ev *ev = llc_conn_ev(skb); 69 int llc_conn_ac_conn_confirm(struct sock *sk, struct sk_buff *skb) argument 77 llc_conn_ac_data_confirm(struct sock *sk, struct sk_buff *skb) argument 85 llc_conn_ac_data_ind(struct sock *sk, struct sk_buff *skb) argument 91 llc_conn_ac_disc_ind(struct sock *sk, struct sk_buff *skb) argument 119 llc_conn_ac_disc_confirm(struct sock *sk, struct sk_buff *skb) argument 128 llc_conn_ac_rst_ind(struct sock *sk, struct sk_buff *skb) argument 167 llc_conn_ac_rst_confirm(struct sock *sk, struct sk_buff *skb) argument 176 llc_conn_ac_clear_remote_busy_if_f_eq_1(struct sock *sk, struct sk_buff *skb) argument 188 llc_conn_ac_stop_rej_tmr_if_data_flag_eq_2(struct sock *sk, struct sk_buff *skb) argument 198 llc_conn_ac_send_disc_cmd_p_set_x(struct sock *sk, struct sk_buff *skb) argument 223 llc_conn_ac_send_dm_rsp_f_set_p(struct sock *sk, struct sk_buff *skb) argument 249 llc_conn_ac_send_dm_rsp_f_set_1(struct sock *sk, struct sk_buff *skb) argument 273 llc_conn_ac_send_frmr_rsp_f_set_x(struct sock *sk, struct sk_buff *skb) argument 307 llc_conn_ac_resend_frmr_rsp_f_set_0(struct sock *sk, struct sk_buff *skb) argument 334 llc_conn_ac_resend_frmr_rsp_f_set_p(struct sock *sk, struct sk_buff *skb) argument 364 llc_conn_ac_send_i_cmd_p_set_1(struct sock *sk, struct sk_buff *skb) argument 381 llc_conn_ac_send_i_cmd_p_set_0(struct sock *sk, struct sk_buff *skb) argument 398 llc_conn_ac_send_i_xxx_x_set_0(struct sock *sk, struct sk_buff *skb) argument 415 llc_conn_ac_resend_i_xxx_x_set_0(struct sock *sk, struct sk_buff *skb) argument 424 llc_conn_ac_resend_i_xxx_x_set_0_or_send_rr(struct sock *sk, struct sk_buff *skb) argument 453 llc_conn_ac_resend_i_rsp_f_set_1(struct sock *sk, struct sk_buff *skb) argument 462 llc_conn_ac_send_rej_cmd_p_set_1(struct sock *sk, struct sk_buff *skb) argument 486 llc_conn_ac_send_rej_rsp_f_set_1(struct sock *sk, struct sk_buff *skb) argument 510 llc_conn_ac_send_rej_xxx_x_set_0(struct sock *sk, struct sk_buff *skb) argument 534 llc_conn_ac_send_rnr_cmd_p_set_1(struct sock *sk, struct sk_buff *skb) argument 558 llc_conn_ac_send_rnr_rsp_f_set_1(struct sock *sk, struct sk_buff *skb) argument 582 llc_conn_ac_send_rnr_xxx_x_set_0(struct sock *sk, struct sk_buff *skb) argument 606 llc_conn_ac_set_remote_busy(struct sock *sk, struct sk_buff *skb) argument 618 llc_conn_ac_opt_send_rnr_xxx_x_set_0(struct sock *sk, struct sk_buff *skb) argument 642 llc_conn_ac_send_rr_cmd_p_set_1(struct sock *sk, struct sk_buff *skb) argument 666 llc_conn_ac_send_rr_rsp_f_set_1(struct sock *sk, struct sk_buff *skb) argument 691 llc_conn_ac_send_ack_rsp_f_set_1(struct sock *sk, struct sk_buff *skb) argument 715 llc_conn_ac_send_rr_xxx_x_set_0(struct sock *sk, struct sk_buff *skb) argument 739 llc_conn_ac_send_ack_xxx_x_set_0(struct sock *sk, struct sk_buff *skb) argument 773 llc_conn_ac_send_sabme_cmd_p_set_x(struct sock *sk, struct sk_buff *skb) argument 801 llc_conn_ac_send_ua_rsp_f_set_p(struct sock *sk, struct sk_buff *skb) argument 828 llc_conn_ac_set_s_flag_0(struct sock *sk, struct sk_buff *skb) argument 834 llc_conn_ac_set_s_flag_1(struct sock *sk, struct sk_buff *skb) argument 840 llc_conn_ac_start_p_timer(struct sock *sk, struct sk_buff *skb) argument 860 llc_conn_ac_send_ack_if_needed(struct sock *sk, struct sk_buff *skb) argument 891 llc_conn_ac_rst_sendack_flag(struct sock *sk, struct sk_buff *skb) argument 907 llc_conn_ac_send_i_rsp_f_set_ackpf(struct sock *sk, struct sk_buff *skb) argument 935 llc_conn_ac_send_i_as_ack(struct sock *sk, struct sk_buff *skb) argument 958 llc_conn_ac_send_rr_rsp_f_set_ackpf(struct sock *sk, struct sk_buff *skb) argument 993 llc_conn_ac_inc_npta_value(struct sock *sk, struct sk_buff *skb) argument 1016 llc_conn_ac_adjust_npta_by_rr(struct sock *sk, struct sk_buff *skb) argument 1042 llc_conn_ac_adjust_npta_by_rnr(struct sock *sk, struct sk_buff *skb) argument 1067 llc_conn_ac_dec_tx_win_size(struct sock *sk, struct sk_buff *skb) argument 1087 llc_conn_ac_inc_tx_win_size(struct sock *sk, struct sk_buff *skb) argument 1097 llc_conn_ac_stop_all_timers(struct sock *sk, struct sk_buff *skb) argument 1110 llc_conn_ac_stop_other_timers(struct sock *sk, struct sk_buff *skb) argument 1122 llc_conn_ac_start_ack_timer(struct sock *sk, struct sk_buff *skb) argument 1130 llc_conn_ac_start_rej_timer(struct sock *sk, struct sk_buff *skb) argument 1139 llc_conn_ac_start_ack_tmr_if_not_running(struct sock *sk, struct sk_buff *skb) argument 1150 llc_conn_ac_stop_ack_timer(struct sock *sk, struct sk_buff *skb) argument 1156 llc_conn_ac_stop_p_timer(struct sock *sk, struct sk_buff *skb) argument 1165 llc_conn_ac_stop_rej_timer(struct sock *sk, struct sk_buff *skb) argument 1171 llc_conn_ac_upd_nr_received(struct sock *sk, struct sk_buff *skb) argument 1207 llc_conn_ac_upd_p_flag(struct sock *sk, struct sk_buff *skb) argument 1223 llc_conn_ac_set_data_flag_2(struct sock *sk, struct sk_buff *skb) argument 1229 llc_conn_ac_set_data_flag_0(struct sock *sk, struct sk_buff *skb) argument 1235 llc_conn_ac_set_data_flag_1(struct sock *sk, struct sk_buff *skb) argument 1241 llc_conn_ac_set_data_flag_1_if_data_flag_eq_0(struct sock *sk, struct sk_buff *skb) argument 1249 llc_conn_ac_set_p_flag_0(struct sock *sk, struct sk_buff *skb) argument 1255 llc_conn_ac_set_p_flag_1(struct sock *sk, struct sk_buff *skb) argument 1261 llc_conn_ac_set_remote_busy_0(struct sock *sk, struct sk_buff *skb) argument 1267 llc_conn_ac_set_cause_flag_0(struct sock *sk, struct sk_buff *skb) argument 1273 llc_conn_ac_set_cause_flag_1(struct sock *sk, struct sk_buff *skb) argument 1279 llc_conn_ac_set_retry_cnt_0(struct sock *sk, struct sk_buff *skb) argument 1285 llc_conn_ac_inc_retry_cnt_by_1(struct sock *sk, struct sk_buff *skb) argument 1291 llc_conn_ac_set_vr_0(struct sock *sk, struct sk_buff *skb) argument 1297 llc_conn_ac_inc_vr_by_1(struct sock *sk, struct sk_buff *skb) argument 1303 llc_conn_ac_set_vs_0(struct sock *sk, struct sk_buff *skb) argument 1309 llc_conn_ac_set_vs_nr(struct sock *sk, struct sk_buff *skb) argument 1315 llc_conn_ac_inc_vs_by_1(struct sock *sk, struct sk_buff *skb) argument 1324 struct sk_buff *skb = alloc_skb(0, GFP_ATOMIC); local 1357 llc_conn_ac_rst_vs(struct sock *sk, struct sk_buff *skb) argument 1364 llc_conn_ac_upd_vs(struct sock *sk, struct sk_buff *skb) argument 1383 llc_conn_disc(struct sock *sk, struct sk_buff *skb) argument 1395 llc_conn_reset(struct sock *sk, struct sk_buff *skb) argument 1429 llc_process_tmr_ev(struct sock *sk, struct sk_buff *skb) argument [all...] |