/net/core/ |
D | dev_addr_lists.c | 545 int dev_uc_sync(struct net_device *to, struct net_device *from) in dev_uc_sync() argument 549 if (to->addr_len != from->addr_len) in dev_uc_sync() 553 err = __hw_addr_sync(&to->uc, &from->uc, to->addr_len); in dev_uc_sync() 575 int dev_uc_sync_multiple(struct net_device *to, struct net_device *from) in dev_uc_sync_multiple() argument 579 if (to->addr_len != from->addr_len) in dev_uc_sync_multiple() 583 err = __hw_addr_sync_multiple(&to->uc, &from->uc, to->addr_len); in dev_uc_sync_multiple() 600 void dev_uc_unsync(struct net_device *to, struct net_device *from) in dev_uc_unsync() argument 602 if (to->addr_len != from->addr_len) in dev_uc_unsync() 605 netif_addr_lock_bh(from); in dev_uc_unsync() 607 __hw_addr_unsync(&to->uc, &from->uc, to->addr_len); in dev_uc_unsync() [all …]
|
D | utils.c | 307 __be32 from, __be32 to, int pseudohdr) in inet_proto_csum_replace4() argument 309 __be32 diff[] = { ~from, to }; in inet_proto_csum_replace4() 323 const __be32 *from, const __be32 *to, in inet_proto_csum_replace16() argument 327 ~from[0], ~from[1], ~from[2], ~from[3], in inet_proto_csum_replace16()
|
D | skbuff.c | 1874 int skb_store_bits(struct sk_buff *skb, int offset, const void *from, int len) in skb_store_bits() argument 1886 skb_copy_to_linear_data_offset(skb, offset, from, copy); in skb_store_bits() 1890 from += copy; in skb_store_bits() 1908 from, copy); in skb_store_bits() 1914 from += copy; in skb_store_bits() 1929 from, copy)) in skb_store_bits() 1934 from += copy; in skb_store_bits() 2395 int from, to, merge, todo; in skb_shift() local 2402 from = 0; in skb_shift() 2404 fragfrom = &skb_shinfo(skb)->frags[from]; in skb_shift() [all …]
|
/net/netfilter/ipvs/ |
D | ip_vs_ftp.c | 176 union nf_inet_addr from; in ip_vs_ftp_out() local 214 &from.ip, &port, in ip_vs_ftp_out() 219 &from.ip, ntohs(port), &cp->caddr.ip, 0); in ip_vs_ftp_out() 227 iph->protocol, &from, port, in ip_vs_ftp_out() 236 n_cp = ip_vs_conn_new(&p, &from, port, in ip_vs_ftp_out() 250 from.ip = n_cp->vaddr.ip; in ip_vs_ftp_out() 253 ((unsigned char *)&from.ip)[0], in ip_vs_ftp_out() 254 ((unsigned char *)&from.ip)[1], in ip_vs_ftp_out() 255 ((unsigned char *)&from.ip)[2], in ip_vs_ftp_out() 256 ((unsigned char *)&from.ip)[3], in ip_vs_ftp_out()
|
/net/ipv4/ |
D | ip_output.c | 416 static void ip_copy_metadata(struct sk_buff *to, struct sk_buff *from) in ip_copy_metadata() argument 418 to->pkt_type = from->pkt_type; in ip_copy_metadata() 419 to->priority = from->priority; in ip_copy_metadata() 420 to->protocol = from->protocol; in ip_copy_metadata() 422 skb_dst_copy(to, from); in ip_copy_metadata() 423 to->dev = from->dev; in ip_copy_metadata() 424 to->mark = from->mark; in ip_copy_metadata() 427 IPCB(to)->flags = IPCB(from)->flags; in ip_copy_metadata() 430 to->tc_index = from->tc_index; in ip_copy_metadata() 432 nf_copy(to, from); in ip_copy_metadata() [all …]
|
/net/x25/ |
D | x25_forward.c | 19 int x25_forward_call(struct x25_address *dest_addr, struct x25_neigh *from, in x25_forward_call() argument 43 if (rt->dev == from->dev) { in x25_forward_call() 69 new_frwd->dev2 = from->dev; in x25_forward_call() 94 int x25_forward_data(int lci, struct x25_neigh *from, struct sk_buff *skb) { in x25_forward_data() argument 108 if (from->dev == frwd->dev1) { in x25_forward_data()
|
/net/atm/ |
D | atm_misc.c | 87 void sonet_copy_stats(struct k_sonet_stats *from, struct sonet_stats *to) in sonet_copy_stats() argument 89 #define __HANDLE_ITEM(i) to->i = atomic_read(&from->i) in sonet_copy_stats() 95 void sonet_subtract_stats(struct k_sonet_stats *from, struct sonet_stats *to) in sonet_subtract_stats() argument 97 #define __HANDLE_ITEM(i) atomic_sub(to->i, &from->i) in sonet_subtract_stats()
|
D | resources.c | 160 static void copy_aal_stats(struct k_atm_aal_stats *from, in copy_aal_stats() argument 163 #define __HANDLE_ITEM(i) to->i = atomic_read(&from->i) in copy_aal_stats() 168 static void subtract_aal_stats(struct k_atm_aal_stats *from, in subtract_aal_stats() argument 171 #define __HANDLE_ITEM(i) atomic_sub(to->i, &from->i) in subtract_aal_stats()
|
/net/ipx/ |
D | Kconfig | 11 Novell client ncpfs (available from 12 <ftp://platan.vc.cvut.cz/pub/linux/ncpfs/>) or from 14 available from <http://www.tldp.org/docs.html#howto>). In order 22 IPX router, say Y here and fetch either lwared from 24 mars_nwe from <ftp://www.compu-art.de/mars_nwe/>. For more 25 information, read the IPX-HOWTO available from 40 IPX networks: it will then be accessible from everywhere using the
|
/net/netfilter/ipset/ |
D | pfxlen.c | 296 ip_set_range_to_cidr(u32 from, u32 to, u8 *cidr) in ip_set_range_to_cidr() argument 302 if ((from & ip_set_hostmask(i)) != from) in ip_set_range_to_cidr() 304 last = from | ~ip_set_hostmask(i); in ip_set_range_to_cidr() 311 return from; in ip_set_range_to_cidr()
|
/net/caif/ |
D | cfpkt_skbuff.c | 127 u8 *from; in cfpkt_extr_head() local 142 from = skb_pull(skb, len); in cfpkt_extr_head() 143 from -= len; in cfpkt_extr_head() 145 memcpy(data, from, len); in cfpkt_extr_head() 154 u8 *from; in cfpkt_extr_trail() local 166 from = skb_tail_pointer(skb) - len; in cfpkt_extr_trail() 168 memcpy(data, from, len); in cfpkt_extr_trail()
|
/net/sched/ |
D | em_text.c | 36 int from, to; in em_text_match() local 39 from = tcf_get_base_ptr(skb, tm->from_layer) - skb->data; in em_text_match() 40 from += tm->from_offset; in em_text_match() 45 return skb_find_text(skb, from, to, tm->config, &state) != UINT_MAX; in em_text_match()
|
/net/dccp/ |
D | options.c | 441 const unsigned char *tail, *from; in dccp_insert_option_ackvec() local 466 from = av->av_buf + av->av_buf_head; in dccp_insert_option_ackvec() 485 if (from + copylen > tail) { in dccp_insert_option_ackvec() 486 const u16 tailsize = tail - from; in dccp_insert_option_ackvec() 488 memcpy(to, from, tailsize); in dccp_insert_option_ackvec() 492 from = av->av_buf; in dccp_insert_option_ackvec() 495 memcpy(to, from, copylen); in dccp_insert_option_ackvec() 496 from += copylen; in dccp_insert_option_ackvec()
|
/net/ipv6/ |
D | ip6_output.c | 505 static void ip6_copy_metadata(struct sk_buff *to, struct sk_buff *from) in ip6_copy_metadata() argument 507 to->pkt_type = from->pkt_type; in ip6_copy_metadata() 508 to->priority = from->priority; in ip6_copy_metadata() 509 to->protocol = from->protocol; in ip6_copy_metadata() 511 skb_dst_set(to, dst_clone(skb_dst(from))); in ip6_copy_metadata() 512 to->dev = from->dev; in ip6_copy_metadata() 513 to->mark = from->mark; in ip6_copy_metadata() 516 to->tc_index = from->tc_index; in ip6_copy_metadata() 518 nf_copy(to, from); in ip6_copy_metadata() 520 to->nf_trace = from->nf_trace; in ip6_copy_metadata() [all …]
|
/net/ceph/ |
D | ceph_common.c | 366 argstr[0].from); in ceph_parse_options() 372 err = ceph_parse_ips(argstr[0].from, in ceph_parse_options() 382 err = parse_fsid(argstr[0].from, &opt->fsid); in ceph_parse_options() 387 opt->name = kstrndup(argstr[0].from, in ceph_parse_options() 388 argstr[0].to-argstr[0].from, in ceph_parse_options() 397 err = ceph_crypto_key_unarmor(opt->key, argstr[0].from); in ceph_parse_options() 407 err = get_secret(opt->key, argstr[0].from); in ceph_parse_options()
|
/net/tipc/ |
D | Kconfig | 11 originates from Ericsson where it has been used in carrier grade 17 can be inserted in and removed from the running kernel whenever you 30 Can range from 127 to 65535 ports; default is 8191.
|
/net/netfilter/ |
D | xt_connbytes.c | 90 if (sinfo->count.to >= sinfo->count.from) in connbytes_mt() 91 return what <= sinfo->count.to && what >= sinfo->count.from; in connbytes_mt() 93 return what < sinfo->count.to || what > sinfo->count.from; in connbytes_mt()
|
D | nfnetlink_queue_core.c | 231 nfqnl_zcopy(struct sk_buff *to, const struct sk_buff *from, int len, int hlen) in nfqnl_zcopy() argument 240 skb_copy_bits(from, 0, skb_put(to, len), len); in nfqnl_zcopy() 245 skb_copy_bits(from, 0, skb_put(to, hlen), hlen); in nfqnl_zcopy() 248 plen = min_t(int, skb_headlen(from), len); in nfqnl_zcopy() 250 page = virt_to_head_page(from->head); in nfqnl_zcopy() 251 offset = from->data - (unsigned char *)page_address(page); in nfqnl_zcopy() 263 for (i = 0; i < skb_shinfo(from)->nr_frags; i++) { in nfqnl_zcopy() 266 skb_shinfo(to)->frags[j] = skb_shinfo(from)->frags[i]; in nfqnl_zcopy()
|
/net/8021q/ |
D | vlan_netlink.c | 104 vlan_dev_set_ingress_priority(dev, m->to, m->from); in vlan_changelink() 110 vlan_dev_set_egress_priority(dev, m->from, m->to); in vlan_changelink() 206 m.from = i; in vlan_fill_info() 226 m.from = pm->priority; in vlan_fill_info()
|
/net/ax25/ |
D | Kconfig | 40 contained in the AX25-HOWTO, available from 57 from clients (called "slaves") and redistributes it to other slaves. 72 from clients (called "slaves") and redistributes it to other slaves. 88 contained in the Linux Ham Wiki, available from 107 contained in the Linux Ham Wiki, available from
|
/net/rxrpc/ |
D | ar-output.c | 529 unsigned char __user *from; in rxrpc_send_data() local 549 from = iov->iov_base; in rxrpc_send_data() 564 _debug("SEGMENT %d @%p", segment, from); in rxrpc_send_data() 639 ret = skb_add_data(skb, from, copy); in rxrpc_send_data() 649 from += copy; in rxrpc_send_data() 651 from = iov->iov_base; in rxrpc_send_data()
|
/net/can/ |
D | gw.c | 212 int from = calc_idx(xor->from_idx, cf->can_dlc); in cgw_csum_xor_rel() local 218 if (from < 0 || to < 0 || res < 0) in cgw_csum_xor_rel() 221 if (from <= to) { in cgw_csum_xor_rel() 222 for (i = from; i <= to; i++) in cgw_csum_xor_rel() 225 for (i = from; i >= to; i--) in cgw_csum_xor_rel() 256 int from = calc_idx(crc8->from_idx, cf->can_dlc); in cgw_csum_crc8_rel() local 262 if (from < 0 || to < 0 || res < 0) in cgw_csum_crc8_rel() 265 if (from <= to) { in cgw_csum_crc8_rel()
|
/net/decnet/ |
D | Kconfig | 24 inserted in and removed from the running kernel whenever you want). 38 from <ftp://ftp.tux.org/pub/net/ip-routing/>). The "Network packet
|
/net/batman-adv/ |
D | main.c | 462 unsigned int from; in batadv_skb_crc32() local 469 from = (unsigned int)(payload_ptr - skb->data); in batadv_skb_crc32() 471 skb_prepare_seq_read(skb, from, to, &st); in batadv_skb_crc32()
|
/net/ipv4/netfilter/ |
D | nf_nat_snmp_basic.c | 80 u_int8_t from; member 903 if (map->from == NOCT1(addr)) { in mangle_address() 914 &map->from, &map->to, addr - begin); in mangle_address() 1198 map.from = NOCT1(&ct->tuplehash[dir].tuple.src.u3.ip); in snmp_translate() 1202 map.from = NOCT1(&ct->tuplehash[dir].tuple.src.u3.ip); in snmp_translate() 1206 if (map.from == map.to) in snmp_translate()
|