Searched refs:pskb (Results 76 - 100 of 124) sorted by relevance

12345

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/netfilter/
H A Dnf_conntrack_pptp.c44 (*nf_nat_pptp_hook_outbound)(struct sk_buff **pskb,
51 (*nf_nat_pptp_hook_inbound)(struct sk_buff **pskb,
236 pptp_inbound_pkt(struct sk_buff **pskb, argument
349 return nf_nat_pptp_inbound(pskb, ct, ctinfo, ctlh, pptpReq);
362 pptp_outbound_pkt(struct sk_buff **pskb, argument
444 return nf_nat_pptp_outbound(pskb, ct, ctinfo, ctlh, pptpReq);
474 conntrack_pptp_help(struct sk_buff **pskb, unsigned int protoff, argument
484 unsigned int tcplen = (*pskb)->len - protoff;
496 tcph = skb_header_pointer(*pskb, nexthdr_off, sizeof(_tcph), &_tcph);
501 pptph = skb_header_pointer(*pskb, nexthdr_of
[all...]
H A Dnf_conntrack_sane.c61 static int help(struct sk_buff **pskb, argument
85 th = skb_header_pointer(*pskb, protoff, sizeof(_tcph), &_tcph);
91 if (dataoff >= (*pskb)->len)
94 datalen = (*pskb)->len - dataoff;
97 sb_ptr = skb_header_pointer(*pskb, dataoff, datalen, sane_buffer);
H A Dxt_CONNSECMARK.c64 static unsigned int target(struct sk_buff **pskb, const struct net_device *in, argument
69 struct sk_buff *skb = *pskb;
H A Dxt_SECMARK.c31 static unsigned int target(struct sk_buff **pskb, const struct net_device *in, argument
50 (*pskb)->secmark = secmark;
H A Dnf_conntrack_tftp.c34 unsigned int (*nf_nat_tftp_hook)(struct sk_buff **pskb,
39 static int tftp_help(struct sk_buff **pskb, argument
51 tfh = skb_header_pointer(*pskb, protoff + sizeof(struct udphdr),
79 ret = nf_nat_tftp(pskb, ctinfo, exp);
H A Dxt_NFQUEUE.c27 target(struct sk_buff **pskb, argument
H A Dnf_conntrack_ftp.c46 unsigned int (*nf_nat_ftp_hook)(struct sk_buff **pskb,
339 static int help(struct sk_buff **pskb, argument
365 th = skb_header_pointer(*pskb, protoff, sizeof(_tcph), &_tcph);
371 if (dataoff >= (*pskb)->len) {
373 (*pskb)->len);
376 datalen = (*pskb)->len - dataoff;
379 fb_ptr = skb_header_pointer(*pskb, dataoff, datalen, ftp_buffer);
508 ret = nf_nat_ftp(pskb, ctinfo, search[dir][i].ftptype,
525 update_nl_seq(seq, ct_ftp_info, dir, *pskb);
H A Dnf_conntrack_l3proto_generic.c67 generic_prepare(struct sk_buff **pskb, unsigned int hooknum, argument
H A Dnf_conntrack_core.c873 __nf_conntrack_confirm(struct sk_buff **pskb) argument
881 ct = nf_ct_get(*pskb, &ctinfo);
932 nf_conntrack_event_cache(IPCT_HELPER, *pskb);
936 nf_conntrack_event_cache(IPCT_NATINFO, *pskb);
939 IPCT_RELATED : IPCT_NEW, *pskb);
1240 nf_conntrack_in(int pf, unsigned int hooknum, struct sk_buff **pskb) argument
1252 if ((*pskb)->nfct) {
1260 if ((ret = l3proto->prepare(pskb, hooknum, &dataoff, &protonum)) <= 0) {
1271 (ret = l4proto->error(*pskb, dataoff, &ctinfo, pf, hooknum)) <= 0) {
1277 ct = resolve_normal_ct(*pskb, dataof
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/bridge/
H A Dbr_netfilter.c506 static unsigned int br_nf_pre_routing(unsigned int hook, struct sk_buff **pskb, argument
513 struct sk_buff *skb = *pskb;
521 if ((skb = skb_share_check(*pskb, GFP_ATOMIC)) == NULL)
535 if ((skb = skb_share_check(*pskb, GFP_ATOMIC)) == NULL)
585 static unsigned int br_nf_local_in(unsigned int hook, struct sk_buff **pskb, argument
590 struct sk_buff *skb = *pskb;
626 static unsigned int br_nf_forward_ip(unsigned int hook, struct sk_buff **pskb, argument
631 struct sk_buff *skb = *pskb;
649 nf_bridge_pull_encap_header(*pskb);
667 static unsigned int br_nf_forward_arp(unsigned int hook, struct sk_buff **pskb, argument
710 br_nf_local_out(unsigned int hook, struct sk_buff **pskb, const struct net_device *in, const struct net_device *out, int (*okfn)(struct sk_buff *)) argument
753 br_nf_post_routing(unsigned int hook, struct sk_buff **pskb, const struct net_device *in, const struct net_device *out, int (*okfn)(struct sk_buff *)) argument
829 ip_sabotage_in(unsigned int hook, struct sk_buff **pskb, const struct net_device *in, const struct net_device *out, int (*okfn)(struct sk_buff *)) argument
[all...]
H A Dbr.c26 int (*br_should_route_hook) (struct sk_buff **pskb) = NULL;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/ipv6/
H A Dnetfilter.c71 static int nf_ip6_reroute(struct sk_buff **pskb, const struct nf_info *info) argument
76 struct ipv6hdr *iph = ipv6_hdr(*pskb);
79 return ip6_route_me_harder(*pskb);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/net/netfilter/
H A Dnf_conntrack_l3proto.h61 * *dataoff: offset of protocol header (TCP, UDP,...) in *pskb
64 int (*prepare)(struct sk_buff **pskb, unsigned int hooknum,
H A Dnf_nat_protocol.h21 int (*manip_pkt)(struct sk_buff **pskb,
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/ipv4/netfilter/
H A Dnf_nat_tftp.c23 static unsigned int help(struct sk_buff **pskb, argument
H A Dipt_SAME.c111 same_target(struct sk_buff **pskb, argument
128 ct = nf_ct_get(*pskb, &ctinfo);
H A Dnf_nat_autofw.c47 autofw_help(struct sk_buff **pskb, argument
134 autofw_target(struct sk_buff **pskb, argument
142 const struct iphdr *iph = ip_hdr(*pskb);
151 ct = nf_ct_get(*pskb, &ctinfo);
H A Dnf_nat_pptp.c115 pptp_outbound_pkt(struct sk_buff **pskb, argument
176 if (nf_nat_mangle_tcp_packet(pskb, ct, ctinfo,
214 pptp_inbound_pkt(struct sk_buff **pskb, argument
268 if (nf_nat_mangle_tcp_packet(pskb, ct, ctinfo,
H A Dipt_CLUSTERIP.c302 target(struct sk_buff **pskb, argument
318 ct = nf_ct_get(*pskb, &ctinfo);
326 if (ip_hdr(*pskb)->protocol == IPPROTO_ICMP
335 hash = clusterip_hashfn(*pskb, cipinfo->config);
362 (*pskb)->pkt_type = PACKET_HOST;
510 struct sk_buff **pskb,
515 struct arphdr *arp = arp_hdr(*pskb);
509 arp_mangle(unsigned int hook, struct sk_buff **pskb, const struct net_device *in, const struct net_device *out, int (*okfn)(struct sk_buff *)) argument
H A Darp_tables.c200 static unsigned int arpt_error(struct sk_buff **pskb, argument
218 unsigned int arpt_do_table(struct sk_buff **pskb, argument
234 if (!pskb_may_pull((*pskb), (sizeof(struct arphdr) +
235 (2 * (*pskb)->dev->addr_len) +
248 arp = arp_hdr(*pskb);
250 if (arp_packet_match(arp, (*pskb)->dev, indev, outdev, &e->arp)) {
255 (2 * (*pskb)->dev->addr_len);
293 verdict = t->u.kernel.target->target(pskb,
300 arp = arp_hdr(*pskb);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/decnet/netfilter/
H A Ddn_rtmsg.c91 struct sk_buff **pskb,
96 dnrmg_send_peer(*pskb);
90 dnrmg_hook(unsigned int hook, struct sk_buff **pskb, const struct net_device *in, const struct net_device *out, int (*okfn)(struct sk_buff *)) argument
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/linux/
H A Dif_bridge.h119 extern int (*br_should_route_hook)(struct sk_buff **pskb);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/s390/net/
H A Dnetiucv.c589 * @pskb: The received skb.
595 struct sk_buff *pskb)
601 skb_put(pskb, NETIUCV_HDRLEN);
602 pskb->dev = dev;
603 pskb->ip_summed = CHECKSUM_NONE;
604 pskb->protocol = ntohs(ETH_P_IP);
608 struct ll_header *header = (struct ll_header *) pskb->data;
613 skb_pull(pskb, NETIUCV_HDRLEN);
617 if (skb_tailroom(pskb) < header->next) {
620 dev->name, header->next, skb_tailroom(pskb));
594 netiucv_unpack_skb(struct iucv_connection *conn, struct sk_buff *pskb) argument
[all...]
H A Dctcmain.c369 * @param pskb The received skb.
372 ctc_unpack_skb(struct channel *ch, struct sk_buff *pskb) argument
376 __u16 len = *((__u16 *) pskb->data);
379 skb_put(pskb, 2 + LL_HEADER_LENGTH);
380 skb_pull(pskb, 2);
381 pskb->dev = dev;
382 pskb->ip_summed = CHECKSUM_UNNECESSARY;
385 struct ll_header *header = (struct ll_header *) pskb->data;
387 skb_pull(pskb, LL_HEADER_LENGTH);
408 ctc_dump_skb(pskb,
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/sched/
H A Dsch_ingress.c231 ing_hook(unsigned int hook, struct sk_buff **pskb, argument
238 struct sk_buff *skb = *pskb;
244 skb->dev ? (*pskb)->dev->name : "(no dev)",

Completed in 210 milliseconds

12345