Searched refs:ntohs (Results 1 – 25 of 39) sorted by relevance
12
| /include/net/ |
| A D | nsh.h | 262 return ((ntohs(nsh->ver_flags_ttl_len) & NSH_LEN_MASK) in nsh_hdr_len() 268 return (ntohs(nsh->ver_flags_ttl_len) & NSH_VER_MASK) in nsh_get_ver() 274 return (ntohs(nsh->ver_flags_ttl_len) & NSH_FLAGS_MASK) in nsh_get_flags() 280 return (ntohs(nsh->ver_flags_ttl_len) & NSH_TTL_MASK) in nsh_get_ttl()
|
| A D | dsfield.h | 24 return ntohs(*(__force const __be16 *)ipv6h) >> 4; in ipv6_get_dsfield() 31 __u32 check = ntohs((__force __be16)iph->check); in ipv4_change_dsfield()
|
| A D | fib_rules.h | 149 return ntohs(port) >= a->start && in fib_rule_port_inrange() 150 ntohs(port) <= a->end; in fib_rule_port_inrange() 156 if ((range->start ^ ntohs(port)) & port_mask) in fib_rule_port_match()
|
| A D | udplite.h | 43 cscov = ntohs(uh->len); in udplite_checksum_init()
|
| A D | inet6_hashtables.h | 133 saddr, sport, daddr, ntohs(dport), in inet6_steal_sock() 166 &ip6h->daddr, ntohs(dport), in __inet6_lookup_skb()
|
| A D | mld.h | 101 unsigned long ret, mc_mrc = ntohs(mlh2->mld2q_mrc); in mldv2_mrc()
|
| A D | inet_hashtables.h | 311 daddr, ntohs(dport), dif, sdif); in inet_lookup_listener() 394 ntohs(dport), dif, 0); in inet_lookup_established() 405 u16 hnum = ntohs(dport); in __inet_lookup() 463 saddr, sport, daddr, ntohs(dport), in inet_steal_sock()
|
| /include/trace/events/ |
| A D | icmp.h | 45 __entry->sport = ntohs(uh->source); 46 __entry->dport = ntohs(uh->dest); 47 __entry->ulen = ntohs(uh->len);
|
| A D | udp.h | 34 __entry->sport = ntohs(uh->source); 35 __entry->dport = ntohs(uh->dest);
|
| A D | tcp.h | 44 __entry->sport = ntohs(inet->inet_sport); 45 __entry->dport = ntohs(inet->inet_dport); 162 __entry->sport = ntohs(inet->inet_sport); 163 __entry->dport = ntohs(inet->inet_dport); 249 __entry->sport = ntohs(inet->inet_sport); 250 __entry->dport = ntohs(inet->inet_dport); 396 __entry->sport = ntohs(inet->inet_sport); 550 __entry->sport = ntohs(th->source); 551 __entry->dport = ntohs(th->dest); 651 __entry->sport = ntohs(th->source); [all …]
|
| A D | fib6.h | 60 __entry->sport = ntohs(flp->fl6_sport); 61 __entry->dport = ntohs(flp->fl6_dport);
|
| A D | fib.h | 60 __entry->sport = ntohs(flp->fl4_sport); 61 __entry->dport = ntohs(flp->fl4_dport);
|
| A D | net.h | 45 __entry->vlan_proto = ntohs(skb->vlan_proto); 47 __entry->protocol = ntohs(skb->protocol); 203 __entry->vlan_proto = ntohs(skb->vlan_proto); 205 __entry->protocol = ntohs(skb->protocol);
|
| A D | sock.h | 170 __entry->sport = ntohs(inet->inet_sport); 171 __entry->dport = ntohs(inet->inet_dport); 218 __entry->sport = ntohs(inet->inet_sport); 219 __entry->dport = ntohs(inet->inet_dport);
|
| A D | skb.h | 43 __entry->protocol = ntohs(skb->protocol);
|
| /include/linux/ |
| A D | ip.h | 36 return ntohs(ip_hdr(skb)->tot_len) - skb_network_header_len(skb); in ip_transport_len() 41 u32 len = ntohs(iph->tot_len); in iph_totlen()
|
| A D | dccp.h | 19 __u64 seq_nr = ntohs(dh->dccph_seq); in dccp_hdr_seq()
|
| /include/net/netfilter/ |
| A D | nf_tables_ipv4.h | 16 pkt->fragoff = ntohs(ip->frag_off) & IP_OFFSET; in nft_set_pktinfo_ipv4() 46 pkt->fragoff = ntohs(iph->frag_off) & IP_OFFSET; in __nft_set_pktinfo_ipv4_validate() 83 pkt->fragoff = ntohs(iph->frag_off) & IP_OFFSET; in nft_set_pktinfo_ipv4_ingress()
|
| A D | nf_conntrack_tuple.h | 90 &t->src.u3.ip, ntohs(t->src.u.all), in nf_ct_dump_tuple_ip() 91 &t->dst.u3.ip, ntohs(t->dst.u.all)); in nf_ct_dump_tuple_ip() 100 t->src.u3.all, ntohs(t->src.u.all), in nf_ct_dump_tuple_ipv6() 101 t->dst.u3.all, ntohs(t->dst.u.all)); in nf_ct_dump_tuple_ipv6()
|
| A D | nf_tables_ipv6.h | 45 pkt_len = ntohs(ip6h->payload_len); in __nft_set_pktinfo_ipv6_validate() 89 pkt_len = ntohs(ip6h->payload_len); in nft_set_pktinfo_ipv6_ingress()
|
| /include/net/sctp/ |
| A D | sctp.h | 425 _sctp_walk_params((pos), (chunk), ntohs((chunk)->chunk_hdr.length)) 431 pos.v <= (void *)chunk + end - ntohs(pos.p->length) &&\ 432 ntohs(pos.p->length) >= sizeof(struct sctp_paramhdr);\ 433 pos.v += SCTP_PAD4(ntohs(pos.p->length))) 436 _sctp_walk_errors((err), (chunk_hdr), ntohs((chunk_hdr)->length)) 443 (void *)err <= (void *)chunk_hdr + end - ntohs(err->length) &&\ 444 ntohs(err->length) >= sizeof(struct sctp_errhdr); \ 445 err = (struct sctp_errhdr *)((void *)err + SCTP_PAD4(ntohs(err->length)))) 448 _sctp_walk_fwdtsn((pos), (chunk), ntohs((chunk)->chunk_hdr->length) - sizeof(struct sctp_fwdtsn_chu…
|
| /include/linux/sunrpc/ |
| A D | svc_xprt.h | 214 return ntohs(sin->sin_port); in svc_addr_port() 216 return ntohs(sin6->sin6_port); in svc_addr_port() 252 ntohs(sin->sin_port)); in __svc_print_addr() 258 ntohs(sin6->sin6_port)); in __svc_print_addr()
|
| A D | addr.h | 27 return ntohs(((struct sockaddr_in *)sap)->sin_port); in rpc_get_port() 29 return ntohs(((struct sockaddr_in6 *)sap)->sin6_port); in rpc_get_port()
|
| /include/linux/byteorder/ |
| A D | generic.h | 130 #undef ntohs 142 #define ntohs(x) ___ntohs(x) macro
|
| /include/keys/ |
| A D | trusted_tpm.h | 15 #define LOAD16(buffer, offset) (ntohs(*(uint16_t *)&buffer[offset]))
|
Completed in 29 milliseconds
12