/net/ipv6/ |
H A D | udp.c | 520 sk = __udp6_lib_lookup(dev_net(skb->dev), daddr, uh->dest, 539 ipv6_icmp_error(sk, skb, err, uh->dest, ntohl(info), (u8 *)(uh+1)); 749 struct udp_hslot *hslot = udp_hashslot(udptable, net, ntohs(uh->dest)); 756 sk = udp_v6_mcast_next(net, sk, uh->dest, daddr, uh->source, saddr, dif); 759 sk = udp_v6_mcast_next(net, sk_nulls_next(sk), uh->dest, daddr, 842 sk = __udp6_lib_lookup_skb(skb, uh->source, uh->dest, udptable); 876 ntohs(uh->dest)); 972 uh->dest = fl6->fl6_dport; 1368 const struct in6_addr *dest, *src; local 1371 dest [all...] |
H A D | route.c | 69 const struct in6_addr *dest); 1659 if (ipv6_addr_is_multicast(&msg->dest)) { 1665 if (ipv6_addr_equal(&msg->dest, &msg->target)) { 1726 nrt = ip6_rt_copy(rt, &msg->dest); 1741 netevent.daddr = &msg->dest; 1759 const struct in6_addr *dest) 1770 rt->rt6i_dst.addr = *dest; 1758 ip6_rt_copy(struct rt6_info *ort, const struct in6_addr *dest) argument
|
/net/l2tp/ |
H A D | l2tp_ppp.c | 764 /* Special case: if source & dest session_id == 0x0000, this 986 static void pppol2tp_copy_stats(struct pppol2tp_ioc_stats *dest, argument 989 dest->tx_packets = atomic_long_read(&stats->tx_packets); 990 dest->tx_bytes = atomic_long_read(&stats->tx_bytes); 991 dest->tx_errors = atomic_long_read(&stats->tx_errors); 992 dest->rx_packets = atomic_long_read(&stats->rx_packets); 993 dest->rx_bytes = atomic_long_read(&stats->rx_bytes); 994 dest->rx_seq_discards = atomic_long_read(&stats->rx_seq_discards); 995 dest->rx_oos_packets = atomic_long_read(&stats->rx_oos_packets); 996 dest [all...] |
/net/netfilter/ipvs/ |
H A D | ip_vs_core.c | 114 struct ip_vs_dest *dest = cp->dest; local 117 if (dest && (dest->flags & IP_VS_DEST_F_AVAILABLE)) { 120 s = this_cpu_ptr(dest->stats.cpustats); 126 s = this_cpu_ptr(dest->svc->stats.cpustats); 144 struct ip_vs_dest *dest = cp->dest; local 147 if (dest && (dest 226 struct ip_vs_dest *dest; local 399 struct ip_vs_dest *dest; local 1397 struct ip_vs_dest *dest = cp->dest; local [all...] |
H A D | ip_vs_sync.c | 637 if (!cp->pe_data || !cp->dest) { 832 struct ip_vs_dest *dest; local 845 dest = cp->dest; 848 !(flags & IP_VS_CONN_F_TEMPLATE) && dest) { 850 atomic_dec(&dest->activeconns); 851 atomic_inc(&dest->inactconns); 853 atomic_inc(&dest->activeconns); 854 atomic_dec(&dest->inactconns); 861 if (!dest) [all...] |
H A D | ip_vs_ctl.c | 460 __ip_vs_bind_svc(struct ip_vs_dest *dest, struct ip_vs_service *svc) argument 463 dest->svc = svc; 474 __ip_vs_unbind_svc(struct ip_vs_dest *dest) argument 476 struct ip_vs_service *svc = dest->svc; 478 dest->svc = NULL; 510 static void ip_vs_rs_hash(struct netns_ipvs *ipvs, struct ip_vs_dest *dest) argument 514 if (dest->in_rs_table) 521 hash = ip_vs_rs_hashkey(dest->af, &dest->addr, dest 528 ip_vs_rs_unhash(struct ip_vs_dest *dest) argument 545 struct ip_vs_dest *dest; local 573 struct ip_vs_dest *dest; local 605 struct ip_vs_dest *dest; local 631 __ip_vs_dst_cache_reset(struct ip_vs_dest *dest) argument 656 struct ip_vs_dest *dest; local 698 ip_vs_dest_free(struct ip_vs_dest *dest) argument 717 struct ip_vs_dest *dest, *nxt; local 770 __ip_vs_update_dest(struct ip_vs_service *svc, struct ip_vs_dest *dest, struct ip_vs_dest_user_kern *udest, int add) argument 838 struct ip_vs_dest *dest; local 901 struct ip_vs_dest *dest; local 966 struct ip_vs_dest *dest; local 1003 struct ip_vs_dest *dest = container_of(head, struct ip_vs_dest, local 1014 __ip_vs_del_dest(struct net *net, struct ip_vs_dest *dest, bool cleanup) argument 1048 __ip_vs_unlink_dest(struct ip_vs_service *svc, struct ip_vs_dest *dest, int svcupd) argument 1076 struct ip_vs_dest *dest; local 1110 struct ip_vs_dest *dest, *next; local 1338 struct ip_vs_dest *dest, *nxt; local 1469 ip_vs_forget_dev(struct ip_vs_dest *dest, struct net_device *dev) argument 1496 struct ip_vs_dest *dest; local 1540 struct ip_vs_dest *dest; local 2023 const struct ip_vs_dest *dest; local 2542 struct ip_vs_dest *dest; local 3084 ip_vs_genl_fill_dest(struct sk_buff *skb, struct ip_vs_dest *dest) argument 3120 ip_vs_genl_dump_dest(struct sk_buff *skb, struct ip_vs_dest *dest, struct netlink_callback *cb) argument 3147 struct ip_vs_dest *dest; local [all...] |
/net/netrom/ |
H A D | af_netrom.c | 191 ax25_address *dest) 200 !ax25cmp(&nr->dest_addr, dest)) { 867 ax25_address *src, *dest, *user; local 880 dest = (ax25_address *)(skb->data + 7); 953 sk = nr_find_listener(dest); 972 nr_make->source_addr = *dest; 190 nr_find_peer(unsigned char index, unsigned char id, ax25_address *dest) argument
|
/net/tipc/ |
H A D | port.c | 1287 int tipc_send2port(u32 ref, struct tipc_portid const *dest, argument 1302 msg_set_destnode(msg, dest->node); 1303 msg_set_destport(msg, dest->ref); 1306 if (in_own_node(dest->node)) 1311 total_len, dest->node); 1329 int tipc_send_buf2port(u32 ref, struct tipc_portid const *dest, argument 1342 msg_set_destnode(msg, dest->node); 1343 msg_set_destport(msg, dest->ref); 1352 if (in_own_node(dest->node)) 1355 res = tipc_send_buf_fast(buf, dest [all...] |
H A D | socket.c | 448 * @dest: destination address 456 static int dest_name_check(struct sockaddr_tipc *dest, struct msghdr *m) argument 460 if (likely(dest->addr.name.name.type >= TIPC_RESERVED_TYPES)) 462 if (likely(dest->addr.name.name.type == TIPC_TOP_SRV)) 464 if (likely(dest->addr.name.name.type != TIPC_CFG_SRV)) 496 struct sockaddr_tipc *dest = (struct sockaddr_tipc *)m->msg_name; local 501 if (unlikely(!dest)) 503 if (unlikely((m->msg_namelen < sizeof(*dest)) || 504 (dest->family != AF_TIPC))) 527 if (dest 606 struct sockaddr_tipc *dest = (struct sockaddr_tipc *)m->msg_name; local 1375 connect(struct socket *sock, struct sockaddr *dest, int destlen, int flags) argument [all...] |
H A D | link.c | 925 int tipc_link_send(struct sk_buff *buf, u32 dest, u32 selector) argument 932 n_ptr = tipc_node_find(dest); 998 void tipc_link_send_names(struct list_head *message_list, u32 dest) argument 1009 n_ptr = tipc_node_find(dest); 2954 * @dest: network address of destination node 2959 u32 tipc_link_get_max_pkt(u32 dest, u32 selector) argument 2965 if (dest == tipc_own_addr) 2969 n_ptr = tipc_node_find(dest);
|
/net/ipv4/ |
H A D | ipconfig.c | 825 b->udph.dest = htons(67); 872 static int __init ic_bootp_string(char *dest, char *src, int len, int max) argument 878 memcpy(dest, src, len); 879 dest[len] = '\0'; 988 if (b->udph.source != htons(67) || b->udph.dest != htons(68))
|
H A D | tcp_ipv4.c | 105 tcp_hdr(skb)->dest, 348 sk = inet_lookup(net, &tcp_hashinfo, iph->daddr, th->dest, 477 req = inet_csk_search_req(sk, &prev, th->dest, 632 rep.th.dest = th->source; 633 rep.th.source = th->dest; 760 rep.th.dest = th->source; 761 rep.th.source = th->dest; 913 proto, ntohs(tcp_hdr(skb)->dest), msg); 1261 &iph->daddr, ntohs(th->dest), 1753 th->source, iph->daddr, th->dest, inet_ii 2660 __be32 dest = inet->inet_daddr; local 2715 __be32 dest, src; local [all...] |
H A D | udp.c | 620 sk = __udp4_lib_lookup(net, iph->daddr, uh->dest, 671 ip_icmp_error(sk, skb, err, uh->dest, info, (u8 *)(uh+1)); 759 uh->dest = fl4->fl4_dport; 1589 struct udp_hslot *hslot = udp_hashslot(udptable, net, ntohs(uh->dest)); 1596 sk = udp_v4_mcast_next(net, sk, uh->dest, daddr, uh->source, saddr, dif); 1599 sk = udp_v4_mcast_next(net, sk_nulls_next(sk), uh->dest, 1710 sk = __udp4_lib_lookup_skb(skb, uh->source, uh->dest, udptable); 1747 &daddr, ntohs(uh->dest)); 1757 &saddr, ntohs(uh->source), &daddr, ntohs(uh->dest), 2149 __be32 dest local [all...] |
/net/sctp/ |
H A D | sm_make_chunk.c | 1333 /* Set chunk->source and dest based on the IP header in chunk->skb. */ 1335 union sctp_addr *dest) 1338 memcpy(&chunk->dest, dest, sizeof(union sctp_addr)); 1748 ntohs(chunk->sctp_hdr->dest) != bear_cookie->my_port) { 1815 sctp_add_bind_addr(&retval->base.bind_addr, &chunk->dest, 1334 sctp_init_addrs(struct sctp_chunk *chunk, union sctp_addr *src, union sctp_addr *dest) argument
|
/net/sunrpc/auth_gss/ |
H A D | auth_gss.c | 142 simple_get_netobj(const void *p, const void *end, struct xdr_netobj *dest) argument 153 dest->data = kmemdup(p, len, GFP_NOFS); 154 if (unlikely(dest->data == NULL)) 156 dest->len = len;
|
/net/sunrpc/ |
H A D | cache.c | 1213 int qword_get(char **bpp, char *dest, int bufsize) argument 1235 *dest++ = (h << 4) | l; 1250 *dest++ = byte; 1253 *dest++ = *bp++; 1263 *dest = '\0';
|
/net/batman-adv/ |
H A D | types.h | 908 uint8_t dest[ETH_ALEN]; member in struct:batadv_vis_info_entry
|