/net/netfilter/ipset/ |
H A D | pfxlen.c | 296 ip_set_range_to_cidr(u32 from, u32 to, u8 *cidr) argument 305 if (!after(last, to)) {
|
/net/atm/ |
H A D | atm_misc.c | 87 void sonet_copy_stats(struct k_sonet_stats *from, struct sonet_stats *to) argument 89 #define __HANDLE_ITEM(i) to->i = atomic_read(&from->i) 95 void sonet_subtract_stats(struct k_sonet_stats *from, struct sonet_stats *to) argument 97 #define __HANDLE_ITEM(i) atomic_sub(to->i, &from->i)
|
H A D | resources.c | 161 struct atm_aal_stats *to) 163 #define __HANDLE_ITEM(i) to->i = atomic_read(&from->i) 169 struct atm_aal_stats *to) 171 #define __HANDLE_ITEM(i) atomic_sub(to->i, &from->i) 160 copy_aal_stats(struct k_atm_aal_stats *from, struct atm_aal_stats *to) argument 168 subtract_aal_stats(struct k_atm_aal_stats *from, struct atm_aal_stats *to) argument
|
/net/sunrpc/ |
H A D | socklib.c | 21 * xdr_skb_read_bits - copy some data bits from skb to internal buffer 23 * @to: copy destination 24 * @len: number of bytes to copy 26 * Possibly called several times to iterate over an sk_buff and copy 29 size_t xdr_skb_read_bits(struct xdr_skb_reader *desc, void *to, size_t len) argument 33 if (unlikely(skb_copy_bits(desc->skb, desc->offset, to, len))) 42 * xdr_skb_read_and_csum_bits - copy and checksum from skb to buffer 44 * @to: copy destination 45 * @len: number of bytes to copy 49 static size_t xdr_skb_read_and_csum_bits(struct xdr_skb_reader *desc, void *to, size_ argument [all...] |
H A D | xprt.c | 27 * If the call timed out, it may choose to retry the operation by 76 * @transport: transport to register 79 * call this interface to make itself known to the RPC client. 112 * @transport: transport to unregister 144 * @transport_name: transport to load 171 * xprt_reserve_xprt - serialize write access to transports 172 * @task: task that is requesting access to the transport 173 * @xprt: pointer to the target transport 196 dprintk("RPC: %5u failed to loc 554 const struct rpc_timeout *to = req->rq_task->tk_client->cl_timeout; local 574 const struct rpc_timeout *to = req->rq_task->tk_client->cl_timeout; local [all...] |
/net/sched/ |
H A D | em_text.c | 36 int from, to; local 42 to = tcf_get_base_ptr(skb, tm->to_layer) - skb->data; 43 to += tm->to_offset; 45 return skb_find_text(skb, from, to, tm->config, &state) != UINT_MAX;
|
H A D | cls_route.c | 27 * It allows to use direct table lookups, instead of hash tables. 30 * 3. "to TAG from ANY" has higher priority, than "to ANY from XXX" 85 /* fastmap updates must look atomic to aling id, iff, filter */ 376 u32 id = 0, to = 0, nhandle = 0x8000; local 391 to = nla_get_u32(tb[TCA_ROUTE4_TO]); 392 if (to > 0xFF) 394 nhandle = to; 439 f->id = to; 442 f->id = to | i [all...] |
/net/bridge/ |
H A D | br_forward.c | 29 /* Don't forward packets to originating port or forwarding disabled */ 62 static void __br_deliver(const struct net_bridge_port *to, struct sk_buff *skb) argument 64 skb = br_handle_vlan(to->br, nbp_get_vlan_info(to), skb); 68 skb->dev = to->dev; 70 if (unlikely(netpoll_tx_running(to->br->dev))) { 75 br_netpoll_send_skb(to, skb); 84 static void __br_forward(const struct net_bridge_port *to, struct sk_buff *skb) argument 93 skb = br_handle_vlan(to->br, nbp_get_vlan_info(to), sk 106 br_deliver(const struct net_bridge_port *to, struct sk_buff *skb) argument 118 br_forward(const struct net_bridge_port *to, struct sk_buff *skb, struct sk_buff *skb0) argument [all...] |
/net/core/ |
H A D | dev_addr_lists.c | 192 * between source and destionation of they synch. If you ever need to 193 * sync addresses to more then 1 destination, you need to use 230 * @list: address list to syncronize 231 * @dev: device to sync 232 * @sync: function to call if address should be added 233 * @unsync: function to call if address should be removed 235 * This funciton is intended to be called from the ndo_set_rx_mode 239 * any notification to the device. 263 /* go through and sync new entries to th 537 dev_uc_sync(struct net_device *to, struct net_device *from) argument 567 dev_uc_sync_multiple(struct net_device *to, struct net_device *from) argument 592 dev_uc_unsync(struct net_device *to, struct net_device *from) argument 758 dev_mc_sync(struct net_device *to, struct net_device *from) argument 788 dev_mc_sync_multiple(struct net_device *to, struct net_device *from) argument 813 dev_mc_unsync(struct net_device *to, struct net_device *from) argument [all...] |
H A D | utils.c | 50 * Convert an ASCII string to binary IP. 112 * in4_pton - convert an IPv4 address from literal to binary representation 117 * @end: A pointer to the end of the parsed string will be placed here 120 * and @end will point to the end of the parsed string. 178 * in6_pton - convert an IPv6 address from literal to binary representation 183 * @end: A pointer to the end of the parsed string will be placed here 186 * and @end will point to the end of the parsed string. 307 __be32 from, __be32 to, int pseudohdr) 311 to)); 313 skb->csum = ~csum_add(csum_sub(~(skb->csum), from), to); 306 inet_proto_csum_replace4(__sum16 *sum, struct sk_buff *skb, __be32 from, __be32 to, int pseudohdr) argument 320 inet_proto_csum_replace16(__sum16 *sum, struct sk_buff *skb, const __be32 *from, const __be32 *to, int pseudohdr) argument [all...] |
H A D | datagram.c | 18 * Alan Cox : Rewrote skb_read_datagram to avoid the 83 * Wait for the last received packet to be different from skb 138 * @off: an offset in bytes to peek skb from. Returns an offset 149 * needs to unlock the socket in that case (usually by calling 155 * * when data copying to user space takes lots of time. 170 * Caller is allowed not to check sk->sk_err before skb_recv_datagram() 216 /* User doesn't want to wait */ 312 * skb_copy_datagram_iovec - Copy a datagram to an iovec. 313 * @skb: buffer to copy 314 * @offset: offset in the buffer to star 320 skb_copy_datagram_iovec(const struct sk_buff *skb, int offset, struct iovec *to, int len) argument 406 skb_copy_datagram_const_iovec(const struct sk_buff *skb, int offset, const struct iovec *to, int to_offset, int len) argument 648 skb_copy_and_csum_datagram(const struct sk_buff *skb, int offset, u8 __user *to, int len, __wsum *csump) argument [all...] |
/net/dccp/ |
H A D | options.c | 49 * @dreq: request socket to use during connection setup, or NULL 100 * The same applies to Ack Vectors, as these depend on the CCID. 137 * RFC 4340 13.1: "The precise time corresponding to 139 * zero to indicate absence of a meaningful timestamp. 193 /* Give precedence to the biggest ELAPSED_TIME */ 269 void dccp_encode_value_var(const u64 value, u8 *to, const u8 len) argument 272 *to++ = (value & 0xFF0000000000ull) >> 40; 274 *to++ = (value & 0xFF00000000ull) >> 32; 276 *to++ = (value & 0xFF000000) >> 24; 278 *to 295 unsigned char *to; local 360 unsigned char *to; local 410 unsigned char *to; local 507 u8 tot_len, *to; local [all...] |
H A D | feat.c | 30 /* feature-specific sysctls - initialised to the defaults from RFC 4340, 6.4 */ 38 * These all use an u64 argument, to provide enough room for NN/SP features. At 39 * this stage the negotiated values have been checked to be within their range. 65 /* propagate changes to update SWL/SWH */ 69 /* propagate changes to update AWL */ 112 * announces its coverage via ChangeL() options. The policy here is to honour 172 * dccp_feat_index - Hash function to map feature number into array position 183 * them to the above table. 350 * @feat_num: feature to activate, one of %dccp_feature_numbers 352 * @fval: the value (SP or NN) to activat 555 dccp_feat_clone_list(struct list_head const *from, struct list_head *to) argument [all...] |
/net/netfilter/ipvs/ |
H A D | ip_vs_ftp.c | 15 * is that ip_vs_ftp module handles the reverse direction to ip_masq_ftp. 52 * List of ports (up to IP_VS_APP_MAX_PORTS) to be handled by helper 53 * First port is set to the default port. 58 MODULE_PARM_DESC(ports, "Ports to monitor for FTP control commands"); 157 * Look at outgoing ftp packets to catch the response to a PASV command 158 * from the server (inside-to-outside). 162 * of the new entry. All this work is just to make the data connection 163 * can be scheduled to th 320 union nf_inet_addr to; local 396 iph->protocol, &to, port, &cp->vaddr, local [all...] |
H A D | ip_vs_proto.c | 183 * Propagate event for state change to all protocols 211 const char *name, int to) 215 if (!table || !name || !to) 221 table[i] = to * HZ; 210 ip_vs_set_state_timeout(int *table, int num, const char *const *names, const char *name, int to) argument
|
/net/sunrpc/xprtrdma/ |
H A D | svc_rdma_sendto.c | 5 * This software is available to you under a choice of one of two 6 * licenses. You may choose to be licensed under the terms of the GNU 24 * its contributors may be used to endorse or promote products 140 u32 rmr, u64 to, 154 dprintk("svcrdma: RDMA_WRITE rmr=%x, to=%llx, xdr_off=%d, " 156 rmr, (unsigned long long)to, xdr_off, 208 write_wr.wr.rdma.remote_addr = to; 305 /* XXX: need to fix when reply lists occur with read-list and or 350 /* This function prepares the portion of the RPCRDMA message to be 361 * sge[0], the 'type' parameter indicates the type to plac 139 send_write(struct svcxprt_rdma *xprt, struct svc_rqst *rqstp, u32 rmr, u64 to, u32 xdr_off, int write_len, struct svc_rdma_req_map *vec) argument [all...] |
/net/caif/ |
H A D | cfpkt_skbuff.c | 181 u8 *to; local 190 /* Check whether we need to add space at the tail */ 198 /* Check whether we need to change the SKB before writing to the tail */ 208 /* All set to put the last SKB and optionally write data there. */ 209 to = pskb_put(skb, lastskb, len); 211 memcpy(to, data, len); 224 u8 *to; local 241 to = skb_push(skb, len); 242 memcpy(to, dat [all...] |
/net/nfc/ |
H A D | digital_dep.c | 73 u8 to; member in struct:digital_atr_res 746 atr_res->to = 8;
|
/net/can/ |
H A D | gw.c | 16 * may be used to endorse or promote products derived from this software 25 * are not restricted to be used by modules with a GPL compatible license. 174 * Copy the struct members separately to ensure that no uninitialized 176 * to make easy compares of the data in the struct cf_mod. 184 static int cgw_chk_csum_parms(s8 fr, s8 to, s8 re) argument 188 * relative to received dlc -1 .. -8 : 196 to > -9 && to < 8 && 214 int to = calc_idx(xor->to_idx, cf->can_dlc); local 219 if (from < 0 || to < 258 int to = calc_idx(crc8->to_idx, cf->can_dlc); local [all...] |
/net/ipv4/ |
H A D | icmp.c | 24 * Alan Cox : Added 216,128 byte paths to the MTU 27 * Martin Mares : Can be configured to follow redirects 30 * Martin Mares : Echo requests may be configured to 42 * Thomas Quinot : ICMP Dest Unreach codes up to 15 are 45 * and moved all kfree_skb() up to 49 * bucket filter (thanks to ANK). Make 55 * Tristan Greaves : Added sysctl option to ignore bogus 189 * ICMP control array. This specifies what to do with each ICMP. 200 * The ICMP socket(s). This is the most convenient way to flow control 246 * icmp_global_allow - Are we allowed to sen 336 icmp_glue_bits(void *from, char *to, int offset, int len, int odd, struct sk_buff *skb) argument [all...] |
/net/ipv6/ |
H A D | icmp.c | 22 * Andi Kleen add rate limits. never reply to a icmp. 24 * yoshfuji : ensure to sent parameter problem for 29 * Kazunori MIYAZAWA @USAGI: change output process to use ip6_append_data 75 * The ICMP socket(s). This is the most convenient way to flow control 135 * Figure out, may we reply to this packet with icmp error. 203 /* Give more bandwidth to wider prefixes. */ 225 * highest-order two bits set to 10 285 static int icmpv6_getfrag(void *from, char *to, int offset, int len, int odd, struct sk_buff *skb) argument 292 to, len, csum); 346 /* No need to clon [all...] |
/net/rds/ |
H A D | ib_recv.c | 4 * This software is available to you under a choice of one of two 5 * licenses. You may choose to be licensed under the terms of the GNU 76 * to the tail of the 'to' list. 79 struct list_head *to) 83 list_splice_tail(from_last, to); 84 list_add_tail(from_last, to); 351 * This tries to allocate and post unused work requests after making sure that 352 * they have all the allocations they need to queue received fragments into 355 * -1 is returned if posting fails due to temporar 78 list_splice_entire_tail(struct list_head *from, struct list_head *to) argument [all...] |
/net/tipc/ |
H A D | bcast.c | 18 * contributors may be used to endorse or promote products derived from 51 * @primary: pointer to primary bearer 52 * @secondary: pointer to secondary bearer 55 * to be paired. 73 * to avoid consuming potentially limited stack space through the use of 88 * @lock: spinlock governing access to structure 202 * tipc_bclink_retransmit_to - get most recent node to request retransmission 213 * @after: sequence number of last packet to *not* retransmit 214 * @to: sequence number of last packet to retransmi 218 bclink_retransmit_pkt(u32 after, u32 to) argument [all...] |
/net/appletalk/ |
H A D | ddp.c | 14 * Wesley Craig : Fix probing to listen to a 17 * Alan Cox : Moved at. to protinfo in 27 * Alan Cox/Mike Freeman : Possible fix to NBP problems 29 * Jay Schulist : Moved IP-over-DDP to its own 34 * procfs, moved probing to AARP 44 * Arnaldo C. de Melo : Move proc stuff to atalk_proc.c, 92 static struct sock *atalk_search_socket(struct sockaddr_at *to, argument 101 if (to->sat_port != at->src_port) 104 if (to [all...] |
/net/batman-adv/ |
H A D | main.c | 45 /* List manipulations on hardif_list have to be rtnl_lock()'ed, 194 * tables as well, it has to be invoked after the TT tables have been 209 * batadv_is_my_mac - check if the given mac address belongs to any of the real 212 * @addr: the address to check 253 "BATMAN mesh %s disabled - please specify interfaces to enable it\n", 297 * batadv_skb_set_priority - sets skb priority according to packet content 298 * @skb: the packet to be sent 299 * @offset: offset to the packet content 407 * the supplied skb. if not, we have to free the skb. 515 pr_info("Trying to registe 587 unsigned int to = skb->len; local [all...] |