/net/core/ |
D | dev_addr_lists.c | 537 int dev_uc_sync(struct net_device *to, struct net_device *from) in dev_uc_sync() argument 541 if (to->addr_len != from->addr_len) in dev_uc_sync() 545 err = __hw_addr_sync(&to->uc, &from->uc, to->addr_len); in dev_uc_sync() 567 int dev_uc_sync_multiple(struct net_device *to, struct net_device *from) in dev_uc_sync_multiple() argument 571 if (to->addr_len != from->addr_len) in dev_uc_sync_multiple() 575 err = __hw_addr_sync_multiple(&to->uc, &from->uc, to->addr_len); in dev_uc_sync_multiple() 592 void dev_uc_unsync(struct net_device *to, struct net_device *from) in dev_uc_unsync() argument 594 if (to->addr_len != from->addr_len) in dev_uc_unsync() 597 netif_addr_lock_bh(from); in dev_uc_unsync() 599 __hw_addr_unsync(&to->uc, &from->uc, to->addr_len); in dev_uc_unsync() [all …]
|
D | utils.c | 407 __be32 from, __be32 to, bool pseudohdr) in inet_proto_csum_replace4() argument 410 csum_replace4(sum, from, to); in inet_proto_csum_replace4() 413 (__force __wsum)from), in inet_proto_csum_replace4() 417 (__force __wsum)from), in inet_proto_csum_replace4() 440 const __be32 *from, const __be32 *to, in inet_proto_csum_replace16() argument 444 ~from[0], ~from[1], ~from[2], ~from[3], in inet_proto_csum_replace16()
|
D | skbuff.c | 1108 struct iov_iter *from, size_t length); 2396 int skb_store_bits(struct sk_buff *skb, int offset, const void *from, int len) in skb_store_bits() argument 2408 skb_copy_to_linear_data_offset(skb, offset, from, copy); in skb_store_bits() 2412 from += copy; in skb_store_bits() 2434 memcpy(vaddr + p_off, from + copied, p_len); in skb_store_bits() 2441 from += copy; in skb_store_bits() 2456 from, copy)) in skb_store_bits() 2461 from += copy; in skb_store_bits() 2684 skb_zerocopy_headlen(const struct sk_buff *from) in skb_zerocopy_headlen() argument 2688 if (!from->head_frag || in skb_zerocopy_headlen() [all …]
|
D | datagram.c | 512 struct iov_iter *from, in skb_copy_datagram_from_iter() argument 523 if (copy_from_iter(skb->data + offset, copy, from) != copy) in skb_copy_datagram_from_iter() 545 copy, from); in skb_copy_datagram_from_iter() 567 from, copy)) in skb_copy_datagram_from_iter() 584 struct iov_iter *from, size_t length) in __zerocopy_sg_from_iter() argument 588 while (length && iov_iter_count(from)) { in __zerocopy_sg_from_iter() 598 copied = iov_iter_get_pages(from, pages, length, in __zerocopy_sg_from_iter() 603 iov_iter_advance(from, copied); in __zerocopy_sg_from_iter() 638 int zerocopy_sg_from_iter(struct sk_buff *skb, struct iov_iter *from) in zerocopy_sg_from_iter() argument 640 int copy = min_t(int, skb_headlen(skb), iov_iter_count(from)); in zerocopy_sg_from_iter() [all …]
|
/net/netfilter/ipvs/ |
D | ip_vs_ftp.c | 176 union nf_inet_addr from; in ip_vs_ftp_out() local 213 &from.ip, &port, in ip_vs_ftp_out() 218 &from.ip, ntohs(port), &cp->caddr.ip, 0); in ip_vs_ftp_out() 226 iph->protocol, &from, port, in ip_vs_ftp_out() 236 n_cp = ip_vs_conn_new(&p, AF_INET, &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/x25/ |
D | x25_forward.c | 22 int x25_forward_call(struct x25_address *dest_addr, struct x25_neigh *from, in x25_forward_call() argument 46 if (rt->dev == from->dev) { in x25_forward_call() 72 new_frwd->dev2 = from->dev; in x25_forward_call() 97 int x25_forward_data(int lci, struct x25_neigh *from, struct sk_buff *skb) { in x25_forward_data() argument 111 if (from->dev == frwd->dev1) { in x25_forward_data()
|
/net/atm/ |
D | atm_misc.c | 88 void sonet_copy_stats(struct k_sonet_stats *from, struct sonet_stats *to) in sonet_copy_stats() argument 90 #define __HANDLE_ITEM(i) to->i = atomic_read(&from->i) in sonet_copy_stats() 96 void sonet_subtract_stats(struct k_sonet_stats *from, struct sonet_stats *to) in sonet_subtract_stats() argument 98 #define __HANDLE_ITEM(i) atomic_sub(to->i, &from->i) in sonet_subtract_stats()
|
D | resources.c | 161 static void copy_aal_stats(struct k_atm_aal_stats *from, in copy_aal_stats() argument 164 #define __HANDLE_ITEM(i) to->i = atomic_read(&from->i) in copy_aal_stats() 169 static void subtract_aal_stats(struct k_atm_aal_stats *from, in subtract_aal_stats() argument 172 #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/ipv4/ |
D | ip_output.c | 516 static void ip_copy_metadata(struct sk_buff *to, struct sk_buff *from) in ip_copy_metadata() argument 518 to->pkt_type = from->pkt_type; in ip_copy_metadata() 519 to->priority = from->priority; in ip_copy_metadata() 520 to->protocol = from->protocol; in ip_copy_metadata() 521 to->skb_iif = from->skb_iif; in ip_copy_metadata() 523 skb_dst_copy(to, from); in ip_copy_metadata() 524 to->dev = from->dev; in ip_copy_metadata() 525 to->mark = from->mark; in ip_copy_metadata() 527 skb_copy_hash(to, from); in ip_copy_metadata() 530 IPCB(to)->flags = IPCB(from)->flags; in ip_copy_metadata() [all …]
|
/net/netfilter/ipset/ |
D | pfxlen.c | 292 ip_set_range_to_cidr(u32 from, u32 to, u8 *cidr) in ip_set_range_to_cidr() argument 298 if ((from & ip_set_hostmask(i)) != from) in ip_set_range_to_cidr() 300 last = from | ~ip_set_hostmask(i); in ip_set_range_to_cidr() 307 return from; in ip_set_range_to_cidr()
|
/net/caif/ |
D | cfpkt_skbuff.c | 123 u8 *from; in cfpkt_extr_head() local 138 from = skb_pull(skb, len); in cfpkt_extr_head() 139 from -= len; in cfpkt_extr_head() 141 memcpy(data, from, len); in cfpkt_extr_head() 150 u8 *from; in cfpkt_extr_trail() local 162 from = skb_tail_pointer(skb) - len; in cfpkt_extr_trail() 164 memcpy(data, from, len); in cfpkt_extr_trail()
|
/net/ipv6/ila/ |
D | ila.h | 98 static inline __wsum compute_csum_diff8(const __be32 *from, const __be32 *to) in compute_csum_diff8() argument 101 ~from[0], ~from[1], to[0], to[1], in compute_csum_diff8()
|
/net/dccp/ |
D | options.c | 409 const unsigned char *tail, *from; in dccp_insert_option_ackvec() local 434 from = av->av_buf + av->av_buf_head; in dccp_insert_option_ackvec() 453 if (from + copylen > tail) { in dccp_insert_option_ackvec() 454 const u16 tailsize = tail - from; in dccp_insert_option_ackvec() 456 memcpy(to, from, tailsize); in dccp_insert_option_ackvec() 460 from = av->av_buf; in dccp_insert_option_ackvec() 463 memcpy(to, from, copylen); in dccp_insert_option_ackvec() 464 from += copylen; in dccp_insert_option_ackvec()
|
/net/sched/ |
D | em_text.c | 36 int from, to; in em_text_match() local 38 from = tcf_get_base_ptr(skb, tm->from_layer) - skb->data; in em_text_match() 39 from += tm->from_offset; in em_text_match() 44 return skb_find_text(skb, from, to, tm->config) != UINT_MAX; in em_text_match()
|
/net/rds/ |
D | message.c | 269 int rds_message_copy_from_user(struct rds_message *rm, struct iov_iter *from) in rds_message_copy_from_user() argument 276 rm->m_inc.i_hdr.h_len = cpu_to_be32(iov_iter_count(from)); in rds_message_copy_from_user() 284 while (iov_iter_count(from)) { in rds_message_copy_from_user() 286 ret = rds_page_remainder_alloc(sg, iov_iter_count(from), in rds_message_copy_from_user() 294 to_copy = min_t(unsigned long, iov_iter_count(from), in rds_message_copy_from_user() 299 to_copy, from); in rds_message_copy_from_user()
|
/net/ipv6/ |
D | ip6_output.c | 586 static void ip6_copy_metadata(struct sk_buff *to, struct sk_buff *from) in ip6_copy_metadata() argument 588 to->pkt_type = from->pkt_type; in ip6_copy_metadata() 589 to->priority = from->priority; in ip6_copy_metadata() 590 to->protocol = from->protocol; in ip6_copy_metadata() 592 skb_dst_set(to, dst_clone(skb_dst(from))); in ip6_copy_metadata() 593 to->dev = from->dev; in ip6_copy_metadata() 594 to->mark = from->mark; in ip6_copy_metadata() 596 skb_copy_hash(to, from); in ip6_copy_metadata() 599 to->tc_index = from->tc_index; in ip6_copy_metadata() 601 nf_copy(to, from); in ip6_copy_metadata() [all …]
|
/net/netfilter/ |
D | xt_connbytes.c | 92 if (sinfo->count.to >= sinfo->count.from) in connbytes_mt() 93 return what <= sinfo->count.to && what >= sinfo->count.from; in connbytes_mt() 95 return what < sinfo->count.to || what > sinfo->count.from; in connbytes_mt()
|
/net/8021q/ |
D | vlan_netlink.c | 109 vlan_dev_set_ingress_priority(dev, m->to, m->from); in vlan_changelink() 115 err = vlan_dev_set_egress_priority(dev, m->from, m->to); in vlan_changelink() 218 m.from = i; in vlan_fill_info() 238 m.from = pm->priority; in vlan_fill_info()
|
/net/ceph/ |
D | ceph_common.c | 400 argstr[0].from); in ceph_parse_options() 406 err = ceph_parse_ips(argstr[0].from, in ceph_parse_options() 416 err = parse_fsid(argstr[0].from, &opt->fsid); in ceph_parse_options() 422 opt->name = kstrndup(argstr[0].from, in ceph_parse_options() 423 argstr[0].to-argstr[0].from, in ceph_parse_options() 435 err = ceph_crypto_key_unarmor(opt->key, argstr[0].from); in ceph_parse_options() 448 err = get_secret(opt->key, argstr[0].from); in ceph_parse_options()
|
/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/sctp/ |
D | sctp_diag.c | 85 struct sctp_transport *from; in inet_diag_msg_sctpaddrs_fill() local 95 list_for_each_entry(from, &asoc->peer.transport_addr_list, in inet_diag_msg_sctpaddrs_fill() 97 memcpy(info, &from->ipaddr, sizeof(from->ipaddr)); in inet_diag_msg_sctpaddrs_fill() 98 memset(info + sizeof(from->ipaddr), 0, in inet_diag_msg_sctpaddrs_fill() 99 addrlen - sizeof(from->ipaddr)); in inet_diag_msg_sctpaddrs_fill()
|
D | chunk.c | 166 struct iov_iter *from) in sctp_datamsg_from_user() argument 169 size_t msg_len = iov_iter_count(from); in sctp_datamsg_from_user() 275 err = sctp_user_addto_chunk(chunk, len, from); in sctp_datamsg_from_user()
|
/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
|
D | link.c | 1010 u16 from, u16 to, struct sk_buff_head *xmitq) in tipc_link_retrans() argument 1034 if (!less(buf_seqno(skb), from)) in tipc_link_retrans() 1643 static bool link_bc_retr_eval(struct tipc_link *l, u16 *from, u16 *to) in link_bc_retr_eval() argument 1647 if (less(*to, *from)) in link_bc_retr_eval() 1652 less(*to, l->prev_from) || more(*from, l->prev_to)) { in link_bc_retr_eval() 1653 l->prev_from = *from; in link_bc_retr_eval() 1660 if (!less(*from, l->prev_from) && !more(*to, l->prev_to)) in link_bc_retr_eval() 1664 if (less(*from, l->prev_from)) { in link_bc_retr_eval() 1666 l->prev_from = *from; in link_bc_retr_eval() 1669 *from = l->prev_to + 1; in link_bc_retr_eval() [all …]
|