Searched refs:skb_in (Results 1 - 9 of 9) sorted by relevance

/asus-wl-520gu-7.0.1.45/src/router/iproute2/reference/net/
H A Dicmp.h38 extern void icmp_send(struct sk_buff *skb_in, int type, int code, u32 info);
/asus-wl-520gu-7.0.1.45/src/linux/linux/include/net/
H A Dicmp.h38 extern void icmp_send(struct sk_buff *skb_in, int type, int code, u32 info);
/asus-wl-520gu-7.0.1.45/src/linux/linux/net/ipv4/
H A Dicmp.c391 void icmp_send(struct sk_buff *skb_in, int type, int code, u32 info) argument
396 struct rtable *rt = (struct rtable*)skb_in->dst;
409 iph = skb_in->nh.iph;
411 if ((u8*)iph < skb_in->head || (u8*)(iph+1) > skb_in->tail)
417 if (skb_in->pkt_type!=PACKET_HOST)
443 if (skb_copy_bits(skb_in,
444 skb_in->nh.raw + (iph->ihl<<2)
446 - skb_in->data,
470 if (rt->rt_flags&RTCF_NAT && IPCB(skb_in)
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/net/ipv4/netfilter/
H A Dipt_REJECT.c155 static void send_unreach(struct sk_buff *skb_in, int code) argument
164 struct rtable *rt = (struct rtable*)skb_in->dst;
173 iph = skb_in->nh.iph;
176 if (skb_in->pkt_type!=PACKET_HOST)
189 && skb_in->tail-(u8*)iph >= sizeof(struct udphdr)) {
190 int datalen = skb_in->len - (iph->ihl<<2);
202 && skb_in->tail-(u8*)iph >= sizeof(struct icmphdr)) {
225 length = skb_in->len + sizeof(struct iphdr) + sizeof(struct icmphdr);
274 memcpy(data, skb_in->nh.iph,
279 connection_attach(nskb, skb_in
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/net/ipv4/netfilter.noQoS/
H A Dipt_REJECT.c155 static void send_unreach(struct sk_buff *skb_in, int code) argument
164 struct rtable *rt = (struct rtable*)skb_in->dst;
173 iph = skb_in->nh.iph;
176 if (skb_in->pkt_type!=PACKET_HOST)
189 && skb_in->tail-(u8*)iph >= sizeof(struct udphdr)) {
190 int datalen = skb_in->len - (iph->ihl<<2);
202 && skb_in->tail-(u8*)iph >= sizeof(struct icmphdr)) {
225 length = skb_in->len + sizeof(struct iphdr) + sizeof(struct icmphdr);
274 memcpy(data, skb_in->nh.iph,
279 connection_attach(nskb, skb_in
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/isdn/
H A Disdn_bsdcomp.c466 static int bsd_compress (void *state, struct sk_buff *skb_in, struct sk_buff *skb_out,int proto) argument
479 unsigned char *rptr = skb_in->data;
480 int isize = skb_in->len;
628 if (!skb_out || (skb_out && skb_out->len >= skb_in->len) ) {
646 static void bsd_incomp (void *state, struct sk_buff *skb_in,int proto) argument
648 bsd_compress (state, skb_in, NULL, proto);
654 static int bsd_decompress (void *state, struct sk_buff *skb_in, struct sk_buff *skb_out, argument
682 if(!skb_in || !skb_out) {
690 if( (p = skb_pull(skb_in,2)) == NULL) {
695 ilen = skb_in
[all...]
H A Disdn_ppp.c36 static struct sk_buff *isdn_ppp_compress(struct sk_buff *skb_in,int *proto,
2422 static struct sk_buff *isdn_ppp_compress(struct sk_buff *skb_in,int *proto, argument
2433 return skb_in;
2437 return skb_in;
2453 return skb_in;
2457 return skb_in;
2461 skb_out = alloc_skb(skb_in->len + skb_in->len/2 + 32 +
2462 skb_headroom(skb_in), GFP_ATOMIC);
2464 return skb_in;
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/net/ipv6/
H A Dexthdrs.c440 int ipv6_parse_exthdrs(struct sk_buff **skb_in, int nhoff) argument
443 u8 nexthdr = (*skb_in)->nh.raw[nhoff];
448 if ((nhoff = hdrt->func(skb_in, nhoff)) >= 0) {
449 nexthdr = (*skb_in)->nh.raw[nhoff];
H A Dreassembly.c519 static int ip6_frag_reasm(struct frag_queue *fq, struct sk_buff **skb_in, argument
604 *skb_in = head;

Completed in 119 milliseconds