/include/net/ |
D | dsfield.h | 23 return ntohs(*(const __be16 *)ipv6h) >> 4; in ipv6_get_dsfield() 30 __u32 check = ntohs((__force __be16)iph->check); in ipv4_change_dsfield() 48 tmp = ntohs(*(__be16 *) ipv6h); in ipv6_change_dsfield()
|
D | ip_vs.h | 1036 ntohs(cp->cport), in ip_vs_control_del() 1038 ntohs(cp->vport)); in ip_vs_control_del() 1046 ntohs(cp->cport), in ip_vs_control_del() 1048 ntohs(ctl_cp->cport)); in ip_vs_control_del() 1055 ntohs(cp->cport), in ip_vs_control_del() 1057 ntohs(cp->vport)); in ip_vs_control_del() 1071 ntohs(cp->cport), in ip_vs_control_add() 1073 ntohs(cp->vport)); in ip_vs_control_add() 1081 ntohs(cp->cport), in ip_vs_control_add() 1083 ntohs(ctl_cp->cport)); in ip_vs_control_add()
|
D | inet_hashtables.h | 268 return __inet_lookup_listener(net, hashinfo, daddr, ntohs(dport), dif); in inet_lookup_listener() 346 ntohs(dport), dif); in inet_lookup_established() 355 u16 hnum = ntohs(dport); in __inet_lookup()
|
D | inet6_hashtables.h | 105 &ipv6_hdr(skb)->daddr, ntohs(dport), in __inet6_lookup_skb()
|
D | udplite.h | 47 cscov = ntohs(uh->len); in udplite_checksum_init()
|
D | llc_pdu.h | 351 dsize = ntohs(eth_hdr(ev_skb)->h_proto) - 3; in llc_pdu_init_as_test_rsp()
|
/include/net/netfilter/ |
D | nf_tproxy_core.h | 129 protocol, ntohl(saddr), ntohs(sport), ntohl(daddr), ntohs(dport), lookup_type, sk); in nf_tproxy_get_sock_v4() 154 daddr, ntohs(dport), in nf_tproxy_get_sock_v6() 165 saddr, sport, daddr, ntohs(dport), in nf_tproxy_get_sock_v6() 198 protocol, saddr, ntohs(sport), daddr, ntohs(dport), lookup_type, sk); in nf_tproxy_get_sock_v6()
|
D | nf_conntrack_tuple.h | 86 &t->src.u3.ip, ntohs(t->src.u.all), in nf_ct_dump_tuple_ip() 87 &t->dst.u3.ip, ntohs(t->dst.u.all)); in nf_ct_dump_tuple_ip() 96 t->src.u3.all, ntohs(t->src.u.all), in nf_ct_dump_tuple_ipv6() 97 t->dst.u3.all, ntohs(t->dst.u.all)); in nf_ct_dump_tuple_ipv6()
|
/include/linux/sunrpc/ |
D | svc_xprt.h | 153 return ntohs(sin->sin_port); in svc_addr_port() 155 return ntohs(sin6->sin6_port); in svc_addr_port() 192 ntohs(sin->sin_port)); in __svc_print_addr() 198 ntohs(sin6->sin6_port)); in __svc_print_addr()
|
D | clnt.h | 177 return ntohs(((struct sockaddr_in *)sap)->sin_port); in rpc_get_port() 179 return ntohs(((struct sockaddr_in6 *)sap)->sin6_port); in rpc_get_port()
|
/include/net/sctp/ |
D | sctp.h | 533 _sctp_walk_params((pos), (chunk), ntohs((chunk)->chunk_hdr.length), member) 537 pos.v <= (void *)chunk + end - ntohs(pos.p->length) &&\ 538 ntohs(pos.p->length) >= sizeof(sctp_paramhdr_t);\ 539 pos.v += WORD_ROUND(ntohs(pos.p->length))) 542 _sctp_walk_errors((err), (chunk_hdr), ntohs((chunk_hdr)->length)) 547 (void *)err <= (void *)chunk_hdr + end - ntohs(err->length) &&\ 548 ntohs(err->length) >= sizeof(sctp_errhdr_t); \ 549 err = (sctp_errhdr_t *)((void *)err + WORD_ROUND(ntohs(err->length)))) 552 _sctp_walk_fwdtsn((pos), (chunk), ntohs((chunk)->chunk_hdr->length) - sizeof(struct sctp_fwdtsn_chu…
|
D | sm.h | 306 size = ntohs(chunk->chunk_hdr->length); in sctp_data_size()
|
/include/linux/byteorder/ |
D | generic.h | 129 #undef ntohs 141 #define ntohs(x) ___ntohs(x) macro
|
/include/linux/ |
D | tipc_config.h | 274 (ntohs(((struct tlv_desc *)tlv)->tlv_len) <= space); in TLV_OK() 280 (ntohs(((struct tlv_desc *)tlv)->tlv_type) == exp_type); in TLV_CHECK() 331 __u16 tlv_space = TLV_ALIGN(ntohs(list->tlv_ptr->tlv_len)); in TLV_LIST_STEP()
|
D | if_vlan.h | 259 *vlan_tci = ntohs(veth->h_vlan_TCI); in __vlan_get_tag() 338 if (ntohs(proto) >= 1536) { in vlan_set_encap_proto()
|
D | dccp.h | 325 __u64 seq_nr = ntohs(dh->dccph_seq); in dccp_hdr_seq() 350 return ((u64)ntohs(dhack->dccph_ack_nr_high) << 32) + ntohl(dhack->dccph_ack_nr_low); in dccp_hdr_ack_seq()
|
/include/trace/events/ |
D | skb.h | 29 __entry->protocol = ntohs(skb->protocol);
|
/include/linux/lockd/ |
D | lockd.h | 301 if (ntohs(sin->sin_port) > 1023) in __nlm_privileged_request4() 312 if (ntohs(sin6->sin6_port) > 1023) in __nlm_privileged_request6()
|
/include/linux/ceph/ |
D | decode.h | 109 a->in_addr.ss_family = ntohs(ss_family); in ceph_decode_addr()
|
/include/linux/netfilter/ipset/ |
D | ip_set.h | 408 return ntohs(nla_get_be16(attr)); in ip_set_get_h16()
|