Searched refs:ntohs (Results 1 – 16 of 16) sorted by relevance
/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 | 659 ntohs(cp->cport), in ip_vs_control_del() 661 ntohs(cp->vport)); in ip_vs_control_del() 669 ntohs(cp->cport), in ip_vs_control_del() 671 ntohs(ctl_cp->cport)); in ip_vs_control_del() 678 ntohs(cp->cport), in ip_vs_control_del() 680 ntohs(cp->vport)); in ip_vs_control_del() 694 ntohs(cp->cport), in ip_vs_control_add() 696 ntohs(cp->vport)); in ip_vs_control_add() 704 ntohs(cp->cport), in ip_vs_control_add() 706 ntohs(ctl_cp->cport)); in ip_vs_control_add()
|
D | udplite.h | 47 cscov = ntohs(uh->len); in udplite_checksum_init()
|
D | inet_hashtables.h | 266 return __inet_lookup_listener(net, hashinfo, daddr, ntohs(dport), dif); in inet_lookup_listener() 344 ntohs(dport), dif); in inet_lookup_established() 353 u16 hnum = ntohs(dport); in __inet_lookup()
|
D | inet6_hashtables.h | 105 &ipv6_hdr(skb)->daddr, ntohs(dport), in __inet6_lookup_skb()
|
D | llc_pdu.h | 351 dsize = ntohs(eth_hdr(ev_skb)->h_proto) - 3; in llc_pdu_init_as_test_rsp()
|
/include/linux/sunrpc/ |
D | svc_xprt.h | 107 ret = ntohs(((struct sockaddr_in *)sa)->sin_port); in svc_addr_port() 110 ret = ntohs(((struct sockaddr_in6 *)sa)->sin6_port); in svc_addr_port() 144 ntohs(((struct sockaddr_in *) addr)->sin_port)); in __svc_print_addr() 150 ntohs(((struct sockaddr_in6 *) addr)->sin6_port)); in __svc_print_addr()
|
/include/net/netfilter/ |
D | nf_conntrack_tuple.h | 117 &t->src.u3.ip, ntohs(t->src.u.all), in nf_ct_dump_tuple_ip() 118 &t->dst.u3.ip, ntohs(t->dst.u.all)); in nf_ct_dump_tuple_ip() 127 t->src.u3.all, ntohs(t->src.u.all), in nf_ct_dump_tuple_ipv6() 128 t->dst.u3.all, ntohs(t->dst.u.all)); in nf_ct_dump_tuple_ipv6()
|
/include/net/sctp/ |
D | sctp.h | 521 _sctp_walk_params((pos), (chunk), ntohs((chunk)->chunk_hdr.length), member) 526 pos.v <= (void *)chunk + end - ntohs(pos.p->length) &&\ 527 ntohs(pos.p->length) >= sizeof(sctp_paramhdr_t);\ 528 pos.v += WORD_ROUND(ntohs(pos.p->length))) 531 _sctp_walk_errors((err), (chunk_hdr), ntohs((chunk_hdr)->length)) 537 (void *)err <= (void *)chunk_hdr + end - ntohs(err->length) &&\ 538 ntohs(err->length) >= sizeof(sctp_errhdr_t); \ 539 err = (sctp_errhdr_t *)((void *)err + WORD_ROUND(ntohs(err->length)))) 542 _sctp_walk_fwdtsn((pos), (chunk), ntohs((chunk)->chunk_hdr->length) - sizeof(struct sctp_fwdtsn_chu…
|
D | sm.h | 305 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 | 296 (ntohs(((struct tlv_desc *)tlv)->tlv_len) <= space); in TLV_OK() 302 (ntohs(((struct tlv_desc *)tlv)->tlv_type) == exp_type); in TLV_CHECK() 353 __u16 tlv_space = TLV_ALIGN(ntohs(list->tlv_ptr->tlv_len)); in TLV_LIST_STEP()
|
D | dccp.h | 307 __u64 seq_nr = ntohs(dh->dccph_seq); in dccp_hdr_seq() 332 return ((u64)ntohs(dhack->dccph_ack_nr_high) << 32) + ntohl(dhack->dccph_ack_nr_low); in dccp_hdr_ack_seq()
|
D | if_vlan.h | 274 *vlan_tci = ntohs(veth->h_vlan_TCI); in __vlan_get_tag()
|
/include/asm-mn10300/ |
D | checksum.h | 48 tmp = (__wsum) ntohs(len) << 16; in csum_tcpudp_nofold()
|
/include/linux/lockd/ |
D | lockd.h | 295 if (ntohs(sin->sin_port) > 1023) in __nlm_privileged_request4() 306 if (ntohs(sin6->sin6_port) > 1023) in __nlm_privileged_request6()
|