Home
last modified time | relevance | path

Searched refs:ntohs (Results 951 - 975 of 1367) sorted by relevance

1...<<31323334353637383940>>...55

/kernel/linux/linux-6.6/net/openvswitch/
H A Dconntrack.c111 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 Ddhcp.c664 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 Dbnad.c551 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 Dbnad.c551 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 Dmcast.c1322 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 Dap_ctrl_iface.c1847 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 Delf2ecoff.c318 if (ntohs(0xaa55) == 0xaa55) { in main()
/kernel/linux/linux-6.6/arch/mips/boot/
H A Delf2ecoff.c318 if (ntohs(0xaa55) == 0xaa55) { in main()
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/
H A Dtest_flow_dissector.c187 val = ntohs(*ptr); in ipv6_set_dsfield()
/kernel/linux/linux-5.10/drivers/net/ethernet/netronome/nfp/crypto/
H A Dtls.c505 &ipv6h->daddr, ntohs(th->dest), in nfp_net_tls_rx_resync_req()
/kernel/linux/linux-5.10/drivers/net/ppp/
H A Dpptp.c311 payload_len = ntohs(header->payload_len); in pptp_rcv_core()
/kernel/linux/linux-5.10/drivers/net/ethernet/synopsys/
H A Ddwc-xlgmac-common.c346 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 Dieee80211_tx.c572 ether_type = ntohs(((struct ethhdr *)skb->data)->h_proto); in ieee80211_xmit()
/kernel/linux/linux-5.10/net/netfilter/
H A Dnfnetlink_cthelper.c89 tuple->src.l3num = ntohs(nla_get_be16(tb[NFCTH_TUPLE_L3PROTONUM])); in nfnl_cthelper_parse_tuple()
H A Dnf_conntrack_proto_dccp.c426 return ((u64)ntohs(dhack->dccph_ack_nr_high) << 32) + in dccp_ack_seq()
H A Dnfnetlink.c577 res_id = ntohs(nfgenmsg->res_id); in nfnetlink_rcv_skb_batch()
/kernel/linux/linux-5.10/net/rxrpc/
H A Drecvmsg.c296 cksum = ntohs(tmp); in rxrpc_verify_packet()
/kernel/linux/linux-5.10/security/apparmor/
H A Dmatch.c331 dfa->flags = ntohs(*(__be16 *) (data + 12)); in aa_dfa_unpack()
/kernel/linux/linux-5.10/security/tomoyo/
H A Dnetwork.c481 r.param.inet_network.port = ntohs(address->inet.port); in tomoyo_inet_entry()
/kernel/linux/linux-5.10/fs/ocfs2/cluster/
H A Dnodemanager.c237 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 Dcore.c358 if (ntohs(s->eh.h_proto) == ETH_P_8021Q) { in bnep_rx_frame()
/kernel/linux/linux-5.10/net/ipv4/
H A Dtcp_minisocks.c522 newtp->snd_wnd = ntohs(tcp_hdr(skb)->window) << newtp->rx_opt.snd_wscale; in tcp_create_openreq_child()
H A Dip_vti.c344 spi = htonl(ntohs(ipch->cpi)); in vti4_err()
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
H A Dktls_rx.c489 &ipv6h->daddr, ntohs(th->dest), in resync_update_sn()
/kernel/linux/linux-6.6/drivers/net/ethernet/netronome/nfp/crypto/
H A Dtls.c506 &ipv6h->daddr, ntohs(th->dest), in nfp_net_tls_rx_resync_req()

Completed in 39 milliseconds

1...<<31323334353637383940>>...55