tag | line | file | source code |
n_len | 154 | include/net/ip_masq.h | extern struct sk_buff * ip_masq_skb_replace(struct sk_buff *skb, int pri, char *o_buf, int o_len, char *n_buf, int n_len); |
n_len | 488 | net/ipv4/ip_masq_app.c | static struct sk_buff * skb_replace(struct sk_buff *skb, int pri, char *o_buf, int o_len, char *n_buf, int n_len) |
n_len | 495 | net/ipv4/ip_masq_app.c | diff = n_len - o_len; |
n_len | 498 | net/ipv4/ip_masq_app.c | if (maxsize <= n_len) { |
n_len | 500 | net/ipv4/ip_masq_app.c | memcpy(skb->data + o_offset + n_len,o_buf + o_len, |
n_len | 504 | net/ipv4/ip_masq_app.c | memcpy(skb->data + o_offset, n_buf, n_len); |
n_len | 507 | net/ipv4/ip_masq_app.c | skb->len = n_len; |
n_len | 508 | net/ipv4/ip_masq_app.c | skb->end = skb->head+n_len; |
n_len | 531 | net/ipv4/ip_masq_app.c | memcpy(n_skb->data + o_offset, n_buf, n_len); |
n_len | 532 | net/ipv4/ip_masq_app.c | memcpy(n_skb->data + o_offset + n_len, o_buf + o_len, |
n_len | 549 | net/ipv4/ip_masq_app.c | struct sk_buff * ip_masq_skb_replace(struct sk_buff *skb, int pri, char *o_buf, int o_len, char *n_buf, int n_len) |
n_len | 555 | net/ipv4/ip_masq_app.c | diff = n_len - o_len; |
n_len | 556 | net/ipv4/ip_masq_app.c | n_skb = skb_replace(skb, pri, o_buf, o_len, n_buf, n_len); |