/kernel/linux/linux-6.6/net/openvswitch/ |
H A D | conntrack.c | 111 switch (ntohs(key->eth.type)) { in key_to_nfproto() 1459 ntohs(info->range.min_proto.all)) || in ovs_ct_nat_to_attr() 1462 ntohs(info->range.max_proto.all))))) in ovs_ct_nat_to_attr()
|
/third_party/toybox/toys/pending/ |
H A D | dhcp.c | 664 if (bytes < ntohs(packet.iph.tot_len)) { in read_raw() 669 bytes = ntohs(packet.iph.tot_len); in read_raw() 674 || ntohs(packet.udph.len) != (uint16_t)(bytes - sizeof(packet.iph))) { in read_raw()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/brocade/bna/ |
H A D | bnad.c | 551 len = ntohs(cmpl->length); in bnad_cq_setup_skb_frags() 617 BNA_UPDATE_PKT_CNT(pkt_rt, ntohs(cmpl->length)); in bnad_cq_process() 640 len = ntohs(cmpl->length); in bnad_cq_process() 667 len = ntohs(next_cmpl->length); in bnad_cq_process() 712 __vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q), ntohs(cmpl->vlan_tag)); in bnad_cq_process()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/brocade/bna/ |
H A D | bnad.c | 551 len = ntohs(cmpl->length); in bnad_cq_setup_skb_frags() 617 BNA_UPDATE_PKT_CNT(pkt_rt, ntohs(cmpl->length)); in bnad_cq_process() 640 len = ntohs(cmpl->length); in bnad_cq_process() 667 len = ntohs(next_cmpl->length); in bnad_cq_process() 712 __vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q), ntohs(cmpl->vlan_tag)); in bnad_cq_process()
|
/kernel/linux/linux-6.6/net/ipv6/ |
H A D | mcast.c | 1322 mldv1_md = ntohs(mld->mld_maxdelay); in mld_process_v1() 1409 len = ntohs(ipv6_hdr(skb)->payload_len) + sizeof(struct ipv6hdr); in __mld_query_work() 1465 ntohs(mlh2->mld2q_nsrcs) * sizeof(struct in6_addr))) in __mld_query_work() 1495 mld_marksources(ma, ntohs(mlh2->mld2q_nsrcs), mlh2->mld2q_srcs)) in __mld_query_work() 1859 pmr->mld2r_ngrec = htons(ntohs(pmr->mld2r_ngrec)+1); in add_grhead()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/hostapd/ |
H A D | ap_ctrl_iface.c | 1847 ntohs(ip.tot_len) > HWSIM_IP_LEN) { in hostapd_data_test_rx() 1853 for (i = 0; i < ntohs(ip.tot_len) - sizeof(ip); i++) { in hostapd_data_test_rx() 1863 if (ntohs(ip.tot_len) != HWSIM_IP_LEN) in hostapd_data_test_rx() 1864 os_snprintf(extra, sizeof(extra), " len=%d", ntohs(ip.tot_len)); in hostapd_data_test_rx() 2015 ethertype = ntohs(eth->ether_type); in hostapd_ctrl_iface_data_test_frame()
|
/kernel/linux/linux-5.10/arch/mips/boot/ |
H A D | elf2ecoff.c | 318 if (ntohs(0xaa55) == 0xaa55) { in main()
|
/kernel/linux/linux-6.6/arch/mips/boot/ |
H A D | elf2ecoff.c | 318 if (ntohs(0xaa55) == 0xaa55) { in main()
|
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/ |
H A D | test_flow_dissector.c | 187 val = ntohs(*ptr); in ipv6_set_dsfield()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/netronome/nfp/crypto/ |
H A D | tls.c | 505 &ipv6h->daddr, ntohs(th->dest), in nfp_net_tls_rx_resync_req()
|
/kernel/linux/linux-5.10/drivers/net/ppp/ |
H A D | pptp.c | 311 payload_len = ntohs(header->payload_len); in pptp_rcv_core()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/synopsys/ |
H A D | dwc-xlgmac-common.c | 346 netdev_dbg(netdev, "Protocol: %#06hx\n", ntohs(eth->h_proto)); in xlgmac_print_pkt()
|
/kernel/linux/linux-5.10/drivers/staging/rtl8192u/ieee80211/ |
H A D | ieee80211_tx.c | 572 ether_type = ntohs(((struct ethhdr *)skb->data)->h_proto); in ieee80211_xmit()
|
/kernel/linux/linux-5.10/net/netfilter/ |
H A D | nfnetlink_cthelper.c | 89 tuple->src.l3num = ntohs(nla_get_be16(tb[NFCTH_TUPLE_L3PROTONUM])); in nfnl_cthelper_parse_tuple()
|
H A D | nf_conntrack_proto_dccp.c | 426 return ((u64)ntohs(dhack->dccph_ack_nr_high) << 32) + in dccp_ack_seq()
|
H A D | nfnetlink.c | 577 res_id = ntohs(nfgenmsg->res_id); in nfnetlink_rcv_skb_batch()
|
/kernel/linux/linux-5.10/net/rxrpc/ |
H A D | recvmsg.c | 296 cksum = ntohs(tmp); in rxrpc_verify_packet()
|
/kernel/linux/linux-5.10/security/apparmor/ |
H A D | match.c | 331 dfa->flags = ntohs(*(__be16 *) (data + 12)); in aa_dfa_unpack()
|
/kernel/linux/linux-5.10/security/tomoyo/ |
H A D | network.c | 481 r.param.inet_network.port = ntohs(address->inet.port); in tomoyo_inet_entry()
|
/kernel/linux/linux-5.10/fs/ocfs2/cluster/ |
H A D | nodemanager.c | 237 return sprintf(page, "%u\n", ntohs(to_o2nm_node(item)->nd_ipv4_port)); in o2nm_node_ipv4_port_show()
|
/kernel/linux/linux-5.10/net/bluetooth/bnep/ |
H A D | core.c | 358 if (ntohs(s->eh.h_proto) == ETH_P_8021Q) { in bnep_rx_frame()
|
/kernel/linux/linux-5.10/net/ipv4/ |
H A D | tcp_minisocks.c | 522 newtp->snd_wnd = ntohs(tcp_hdr(skb)->window) << newtp->rx_opt.snd_wscale; in tcp_create_openreq_child()
|
H A D | ip_vti.c | 344 spi = htonl(ntohs(ipch->cpi)); in vti4_err()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/en_accel/ |
H A D | ktls_rx.c | 489 &ipv6h->daddr, ntohs(th->dest), in resync_update_sn()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/netronome/nfp/crypto/ |
H A D | tls.c | 506 &ipv6h->daddr, ntohs(th->dest), in nfp_net_tls_rx_resync_req()
|