/net/rds/ |
H A D | tcp_connect.c | 78 struct sockaddr_in src, dest; local 98 dest.sin_family = AF_INET; 99 dest.sin_addr.s_addr = (__force u32)conn->c_faddr; 100 dest.sin_port = (__force u16)htons(RDS_TCP_PORT); 107 ret = sock->ops->connect(sock, (struct sockaddr *)&dest, sizeof(dest),
|
H A D | ib_cm.c | 581 struct sockaddr_in src, dest; local 601 dest.sin_family = AF_INET; 602 dest.sin_addr.s_addr = (__force u32)conn->c_faddr; 603 dest.sin_port = (__force u16)htons(RDS_PORT); 606 (struct sockaddr *)&dest,
|
H A D | iw_cm.c | 518 struct sockaddr_in src, dest; local 551 dest.sin_family = AF_INET; 552 dest.sin_addr.s_addr = (__force u32)conn->c_faddr; 553 dest.sin_port = (__force u16)htons(RDS_PORT); 556 (struct sockaddr *)&dest,
|
H A D | send.c | 673 void rds_send_drop_to(struct rds_sock *rs, struct sockaddr_in *dest) argument 684 if (dest && (dest->sin_addr.s_addr != rm->m_daddr || 685 dest->sin_port != rm->m_inc.i_hdr.h_dport))
|
/net/802/ |
H A D | p8022.c | 29 unsigned char *dest) 31 llc_build_and_send_ui_pkt(dl->sap, skb, dest, dl->sap->laddr.lsap); 28 p8022_request(struct datalink_proto *dl, struct sk_buff *skb, unsigned char *dest) argument
|
H A D | psnap.c | 86 struct sk_buff *skb, u8 *dest) 89 llc_build_and_send_ui_pkt(snap_sap, skb, dest, snap_sap->laddr.lsap); 85 snap_request(struct datalink_proto *dl, struct sk_buff *skb, u8 *dest) argument
|
/net/netfilter/ipvs/ |
H A D | ip_vs_lc.c | 13 * Wensong Zhang : added any dest with weight=0 is quiesced 31 struct ip_vs_dest *dest, *least = NULL; local 45 list_for_each_entry_rcu(dest, &svc->destinations, n_list) { 46 if ((dest->flags & IP_VS_DEST_F_OVERLOAD) || 47 atomic_read(&dest->weight) == 0) 49 doh = ip_vs_dest_conn_overhead(dest); 51 least = dest;
|
H A D | ip_vs_nq.c | 44 ip_vs_nq_dest_overhead(struct ip_vs_dest *dest) argument 50 return atomic_read(&dest->activeconns) + 1; 60 struct ip_vs_dest *dest, *least = NULL; local 66 * We calculate the load of each dest server as follows: 67 * (server expected overhead) / dest->weight 78 list_for_each_entry_rcu(dest, &svc->destinations, n_list) { 80 if (dest->flags & IP_VS_DEST_F_OVERLOAD || 81 !atomic_read(&dest->weight)) 84 doh = ip_vs_nq_dest_overhead(dest); 87 if (atomic_read(&dest [all...] |
H A D | ip_vs_rr.c | 13 * Wensong Zhang : changed the ip_vs_rr_schedule to return dest 18 * Wensong Zhang : added any dest with weight=0 is quiesced 38 static int ip_vs_rr_del_dest(struct ip_vs_service *svc, struct ip_vs_dest *dest) argument 44 /* dest is already unlinked, so p->prev is not valid but 47 if (p == &dest->n_list) 61 struct ip_vs_dest *dest, *last; local 68 last = dest = list_entry(p, struct ip_vs_dest, n_list); 71 list_for_each_entry_continue_rcu(dest, 74 if (!(dest->flags & IP_VS_DEST_F_OVERLOAD) && 75 atomic_read(&dest [all...] |
H A D | ip_vs_sed.c | 48 ip_vs_sed_dest_overhead(struct ip_vs_dest *dest) argument 54 return atomic_read(&dest->activeconns) + 1; 64 struct ip_vs_dest *dest, *least; local 70 * We calculate the load of each dest server as follows: 71 * (server expected overhead) / dest->weight 82 list_for_each_entry_rcu(dest, &svc->destinations, n_list) { 83 if (!(dest->flags & IP_VS_DEST_F_OVERLOAD) && 84 atomic_read(&dest->weight) > 0) { 85 least = dest; 97 list_for_each_entry_continue_rcu(dest, [all...] |
H A D | ip_vs_wlc.c | 13 * Wensong Zhang : changed the ip_vs_wlc_schedule to return dest 18 * Wensong Zhang : added any dest with weight=0 is quiesced 36 struct ip_vs_dest *dest, *least; local 42 * We calculate the load of each dest server as follows: 43 * (dest overhead) / dest->weight 54 list_for_each_entry_rcu(dest, &svc->destinations, n_list) { 55 if (!(dest->flags & IP_VS_DEST_F_OVERLOAD) && 56 atomic_read(&dest->weight) > 0) { 57 least = dest; [all...] |
H A D | ip_vs_wrr.c | 12 * Wensong Zhang : changed the ip_vs_wrr_schedule to return dest 49 * weight changes, it is possible some dest weight to be reduced 50 * below di, bad if it is the only available dest. 66 struct ip_vs_dest *cl; /* current dest or head */ 76 struct ip_vs_dest *dest; local 80 list_for_each_entry(dest, &svc->destinations, n_list) { 81 weight = atomic_read(&dest->weight); 98 struct ip_vs_dest *dest; local 101 list_for_each_entry(dest, &svc->destinations, n_list) { 102 new_weight = atomic_read(&dest 143 ip_vs_wrr_dest_changed(struct ip_vs_service *svc, struct ip_vs_dest *dest) argument 167 struct ip_vs_dest *dest, *last, *stop = NULL; local [all...] |
H A D | ip_vs_dh.c | 54 struct ip_vs_dest __rcu *dest; /* real server (cache) */ member in struct:ip_vs_dh_bucket 94 return rcu_dereference(s->buckets[ip_vs_dh_hashkey(af, addr)].dest); 107 struct ip_vs_dest *dest; local 114 dest = rcu_dereference_protected(b->dest, 1); 115 if (dest) 116 ip_vs_dest_put(dest); 118 RCU_INIT_POINTER(b->dest, NULL); 123 dest = list_entry(p, struct ip_vs_dest, n_list); 124 ip_vs_dest_hold(dest); 142 struct ip_vs_dest *dest; local 191 ip_vs_dh_dest_changed(struct ip_vs_service *svc, struct ip_vs_dest *dest) argument 207 is_overloaded(struct ip_vs_dest *dest) argument 219 struct ip_vs_dest *dest; local [all...] |
H A D | ip_vs_sh.c | 56 struct ip_vs_dest __rcu *dest; /* real server (cache) */ member in struct:ip_vs_sh_bucket 96 return rcu_dereference(s->buckets[ip_vs_sh_hashkey(af, addr)].dest); 109 struct ip_vs_dest *dest; local 118 dest = rcu_dereference_protected(b->dest, 1); 119 if (dest) 120 ip_vs_dest_put(dest); 122 RCU_INIT_POINTER(b->dest, NULL); 127 dest = list_entry(p, struct ip_vs_dest, n_list); 128 ip_vs_dest_hold(dest); 155 struct ip_vs_dest *dest; local 204 ip_vs_sh_dest_changed(struct ip_vs_service *svc, struct ip_vs_dest *dest) argument 220 is_overloaded(struct ip_vs_dest *dest) argument 232 struct ip_vs_dest *dest; local [all...] |
/net/bridge/ |
H A D | br_input.c | 62 const unsigned char *dest = eth_hdr(skb)->h_dest; local 80 if (!is_broadcast_ether_addr(dest) && is_multicast_ether_addr(dest) && 97 if (is_broadcast_ether_addr(dest)) 99 else if (is_multicast_ether_addr(dest)) { 113 } else if ((dst = __br_fdb_get(br, dest, vid)) && 157 const unsigned char *dest = eth_hdr(skb)->h_dest; local 172 if (unlikely(is_link_local_ether_addr(dest))) { 186 switch (dest[5]) { 199 if (p->br->group_fwd_mask & (1u << dest[ [all...] |
H A D | br_stp_bpdu.c | 61 static inline void br_set_ticks(unsigned char *dest, int j) argument 65 put_unaligned_be16(ticks, dest); 143 const unsigned char *dest = eth_hdr(skb)->h_dest; local 172 if (!ether_addr_equal(dest, br->group_addr))
|
H A D | br_device.c | 29 const unsigned char *dest = skb->data; local 58 if (is_broadcast_ether_addr(dest)) 60 else if (is_multicast_ether_addr(dest)) { 75 } else if ((dst = __br_fdb_get(br, dest, vid)) != NULL)
|
/net/rose/ |
H A D | rose_loopback.c | 70 rose_address *dest; local 89 dest = (rose_address *)(skb->data + ROSE_CALL_REQ_DEST_ADDR_OFF); 102 if ((dev = rose_dev_get(dest)) != NULL) {
|
/net/ax25/ |
H A D | ax25_in.c | 190 ax25_address src, dest, *next_digi = NULL; local 210 if (ax25_addr_parse(skb->data, skb->len, &src, &dest, &dp, &type, &dama) == NULL) 225 if (ax25cmp(&dest, dev_addr) == 0 && dp.lastrepeat + 1 == dp.ndigi) 229 if (!mine && ax25_listen_mine(&dest, dev) && dp.lastrepeat + 1 == dp.ndigi) 236 ax25_send_to_raw(&dest, skb, skb->data[1]); 238 if (!mine && ax25cmp(&dest, (ax25_address *)dev->broadcast) != 0) 264 sk = ax25_get_socket(&dest, &src, SOCK_DGRAM); 307 if ((ax25 = ax25_find_cb(&dest, &src, &reverse_dp, dev)) != NULL) { 332 ax25_return_dm(dev, &src, &dest, &dp); 340 sk = ax25_find_listener(&dest, [all...] |
H A D | ax25_addr.c | 160 ax25_address *src, ax25_address *dest, ax25_digi *digi, int *flags, 180 if (dest != NULL) 181 memcpy(dest, buf + 0, AX25_ADDR_LEN); 219 const ax25_address *dest, const ax25_digi *d, int flag, int modulus) 224 memcpy(buf, dest, AX25_ADDR_LEN); 159 ax25_addr_parse(const unsigned char *buf, int len, ax25_address *src, ax25_address *dest, ax25_digi *digi, int *flags, int *dama) argument 218 ax25_addr_build(unsigned char *buf, const ax25_address *src, const ax25_address *dest, const ax25_digi *d, int flag, int modulus) argument
|
H A D | ax25_out.c | 36 ax25_cb *ax25_send_frame(struct sk_buff *skb, int paclen, ax25_address *src, ax25_address *dest, ax25_digi *digi, struct net_device *dev) argument 55 if ((ax25 = ax25_find_cb(src, dest, digi, dev)) != NULL) { 69 ax25->dest_addr = *dest;
|
H A D | ax25_subr.c | 190 void ax25_return_dm(struct net_device *dev, ax25_address *src, ax25_address *dest, ax25_digi *digi) argument 215 dptr += ax25_addr_build(dptr, dest, src, &retdigi, AX25_RESPONSE, AX25_MODULUS);
|
H A D | ax25_route.c | 460 ax25_address *dest, ax25_digi *digi) 484 ax25_addr_build(bp, src, dest, digi, AX25_COMMAND, AX25_MODULUS); 459 ax25_rt_build_path(struct sk_buff *skb, ax25_address *src, ax25_address *dest, ax25_digi *digi) argument
|
/net/llc/ |
H A D | llc_input.c | 159 int dest; local 195 dest = llc_pdu_type(skb); 196 sap_handler = dest ? ACCESS_ONCE(llc_type_handlers[dest - 1]) : NULL;
|
/net/mac802154/ |
H A D | wpan.c | 60 static inline void mac802154_haddr_copy_swap(u8 *dest, const u8 *src) argument 64 dest[IEEE802154_ADDR_LEN - i - 1] = src[i]; 478 pr_debug("dest PAN addr: %04x\n", mac_cb(skb)->da.pan_id);
|