/kernel/linux/linux-5.10/net/bridge/ |
H A D | br_multicast.c | 809 if (WARN_ON(lmqt_srcs != ntohs(ihv3->nsrcs))) { in br_ip4_multicast_alloc_query() 970 if (WARN_ON(llqt_srcs != ntohs(mld2q->mld2q_nsrcs))) { in br_ip6_multicast_alloc_query() 2261 num = ntohs(ih->ngrec); in br_ip4_multicast_igmp3_report() 2272 nsrcs = ntohs(grec->grec_nsrcs); in br_ip4_multicast_igmp3_report() 2375 num = ntohs(icmp6h->icmp6_dataun.un_data16[1]); in br_ip6_multicast_mld2_report() 2393 nsrcs = ntohs(*_nsrcs); in br_ip6_multicast_mld2_report() 2745 max_delay = msecs_to_jiffies(ntohs(mld->mld_maxdelay)); in br_ip6_multicast_query() 3765 t_len = ntohs(ip_hdr(skb)->tot_len) - ip_hdrlen(skb); in br_mcast_stats_add() 3800 t_len = ntohs(ipv6_hdr(skb)->payload_len) + in br_mcast_stats_add()
|
/kernel/linux/linux-6.6/drivers/net/ |
H A D | amt.c | 598 &tunnel->ip4, ntohs(tunnel->source_port), in __amt_update_relay_status() 1404 nsrcs = ntohs(igmp_grec->grec_nsrcs); in amt_add_srcs() 1408 nsrcs = ntohs(mld_grec->grec_nsrcs); in amt_add_srcs() 1489 nsrcs = ntohs(igmp_grec->grec_nsrcs); in amt_lookup_act_srcs() 1493 nsrcs = ntohs(mld_grec->grec_nsrcs); in amt_lookup_act_srcs() 2005 for (i = 0; i < ntohs(ihrv3->ngrec); i++) { in amt_igmpv3_report_handler() 2011 nsrcs = ntohs(grec->grec_nsrcs); in amt_igmpv3_report_handler() 2167 for (i = 0; i < ntohs(mld2r->mld2r_ngrec); i++) { in amt_mldv2_report_handler() 2173 nsrcs = ntohs(grec->grec_nsrcs); in amt_mldv2_report_handler()
|
/kernel/linux/linux-6.6/net/batman-adv/ |
H A D | translation-table.c | 2826 ntohs(tt_vlan_tmp->vid))) in batadv_tt_global_check_crc() 2830 ntohs(tt_vlan_tmp->vid)); in batadv_tt_global_check_crc() 3031 ntohs(tt_data->num_vlan))) in batadv_send_other_tt_response() 3265 ntohs((tt_change + i)->vid), in _batadv_tt_update_changes() 3271 ntohs((tt_change + i)->vid), in _batadv_tt_update_changes() 3387 change_offset *= ntohs(tt_data->num_vlan); in batadv_handle_tt_response() 3999 num_vlan = ntohs(tt_data->num_vlan); in batadv_tt_tvlv_ogm_handler_v1() 4043 tt_vlan_len *= ntohs(tt_data->num_vlan); in batadv_tt_tvlv_unicast_handler_v1() 4138 ntohs(roaming_adv->vid), BATADV_TT_CLIENT_ROAM, in batadv_roam_tvlv_unicast_handler_v1()
|
/foundation/communication/dsoftbus/components/nstackx/nstackx_core/dfile/core/ |
H A D | nstackx_file_manager.c | 554 transId = ntohs(blockFrame->fileDataFrame->header.transId); in GetFrameHearderInfo() 555 *fileId = ntohs(blockFrame->fileDataFrame->fileId); in GetFrameHearderInfo() 557 length = ntohs(blockFrame->fileDataFrame->header.length); in GetFrameHearderInfo() 1150 len += ntohs(header->length) + sizeof(DFileFrameHeader); in RefreshBytesTransFerred() 1673 transId = ntohs(frame->header.transId); in FileManagerFileWrite()
|
/kernel/linux/common_modules/newip/third_party/linux-5.10/net/newip/ |
H A D | tcp_nip_input.c | 978 ireq->ir_num = ntohs(tcp_hdr(skb)->dest); in tcp_nip_openreq_init() 1071 newtp->snd_wnd = (ntohs(tcp_hdr(skb)->window) << in tcp_nip_create_openreq_child() 1267 u32 nwin = ntohs(tcp_hdr(skb)->window); in tcp_nip_ack_update_window() 1933 tp->snd_wnd = ntohs(th->window); in tcp_nip_rcv_synsent_state_process() 2080 tp->snd_wnd = ntohs(th->window) << tp->rx_opt.snd_wscale; in tcp_nip_rcv_state_process()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/qlogic/qede/ |
H A D | qede_filter.c | 197 ntohs(fltr->tuple.src_port), in qede_arfs_filter_op() 198 ntohs(fltr->tuple.dst_port), fltr->rxq_id); in qede_arfs_filter_op() 972 tunn_params.vxlan_port = ntohs(ti.port); in qede_udp_tunnel_sync() 976 tunn_params.geneve_port = ntohs(ti.port); in qede_udp_tunnel_sync() 986 *save_port = ntohs(ti.port); in qede_udp_tunnel_sync()
|
/kernel/linux/linux-5.10/net/openvswitch/ |
H A D | conntrack.c | 107 switch (ntohs(key->eth.type)) { in key_to_nfproto() 1269 len = ntohs(ip_hdr(skb)->tot_len); in ovs_skb_network_trim() 1273 + ntohs(ipv6_hdr(skb)->payload_len); in ovs_skb_network_trim() 1768 ntohs(info->range.min_proto.all)) || in ovs_ct_nat_to_attr() 1771 ntohs(info->range.max_proto.all))))) in ovs_ct_nat_to_attr()
|
/kernel/linux/linux-5.10/net/core/ |
H A D | flow_dissector.c | 178 key_icmp->id = ih->un.echo.id ? ntohs(ih->un.echo.id) : 1; in skb_flow_get_icmp_tci() 508 key_arp->op = ntohs(arp->ar_op) & 0xff; in __skb_flow_dissect_arp() 539 gre_ver = ntohs(hdr->flags & GRE_VERSION); in __skb_flow_dissect_gre() 1167 key_vlan->vlan_id = ntohs(vlan->h_vlan_TCI) & in __skb_flow_dissect() 1170 (ntohs(vlan->h_vlan_TCI) & in __skb_flow_dissect()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/qlogic/qede/ |
H A D | qede_filter.c | 197 ntohs(fltr->tuple.src_port), in qede_arfs_filter_op() 198 ntohs(fltr->tuple.dst_port), fltr->rxq_id); in qede_arfs_filter_op() 970 tunn_params.vxlan_port = ntohs(ti.port); in qede_udp_tunnel_sync() 974 tunn_params.geneve_port = ntohs(ti.port); in qede_udp_tunnel_sync() 984 *save_port = ntohs(ti.port); in qede_udp_tunnel_sync()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/ixgbe/ |
H A D | ixgbe_82599.c | 1492 u32 mask = ntohs(input_mask->formatted.dst_port); in ixgbe_get_fdirtcpm_82599() 1495 mask |= ntohs(input_mask->formatted.src_port); in ixgbe_get_fdirtcpm_82599() 1516 #define IXGBE_STORE_AS_BE16(_value) __swab16(ntohs((_value))) 1567 switch (ntohs(input_mask->formatted.vlan_id) & 0xEFFF) { in ixgbe_fdir_set_input_mask_82599() 1660 fdirvlan |= ntohs(input->formatted.vlan_id); in ixgbe_fdir_write_perfect_filter_82599()
|
/kernel/linux/linux-6.6/drivers/net/vxlan/ |
H A D | vxlan_core.c | 1583 md->gbp = ntohs(gbp->policy_id); in vxlan_parse_gbp_hdr() 2080 switch (ntohs(eth_hdr(skb)->h_proto)) { in route_shortcircuit() 2547 if (ntohs(eth->h_proto) == ETH_P_IPV6 || in vxlan_xmit_one() 2548 (ntohs(eth->h_proto) == ETH_P_IP && in vxlan_xmit_one() 2790 if (ntohs(eth->h_proto) == ETH_P_ARP) in vxlan_xmit() 2793 else if (ntohs(eth->h_proto) == ETH_P_IPV6 && in vxlan_xmit() 2829 (ntohs(eth->h_proto) == ETH_P_IP || in vxlan_xmit() 2830 ntohs(eth->h_proto) == ETH_P_IPV6)) { in vxlan_xmit() 3338 if (ntohs(p->high) < ntohs( in vxlan_validate() [all...] |
/foundation/CastEngine/castengine_wifi_display/tests/demo/rtp/ |
H A D | rtp_dec_demo.cpp | 115 printf("\nRecv data(size:%d) From %s:%d\n", nbytes, inet_ntoa(cliAddr.sin_addr), ntohs(cliAddr.sin_port)); in RecvUDP()
|
/foundation/communication/netmanager_base/services/netmanagernative/src/netsys/ |
H A D | clatd.cpp | 252 uint16_t tunProtocol = ntohs(readBuf.tunProtocolInfo.proto); in ProcessV4Packet()
|
/kernel/linux/linux-5.10/tools/testing/selftests/netfilter/ |
H A D | nf-queue.c | 92 ntohs(ph->hw_protocol), ph->hook); in queue_cb()
|
/kernel/linux/linux-5.10/net/sched/ |
H A D | act_skbmod.c | 243 nla_put_u16(skb, TCA_SKBMOD_ETYPE, ntohs(p->eth_type))) in tcf_skbmod_dump()
|
/kernel/linux/linux-5.10/net/packet/ |
H A D | diag.c | 146 rp->pdiag_num = ntohs(READ_ONCE(po->num)); in sk_diag_fill()
|
/kernel/linux/linux-5.10/net/ipv6/ |
H A D | syncookies.c | 185 ireq->ir_num = ntohs(th->dest); in cookie_v6_check()
|
/kernel/linux/linux-5.10/net/ipv6/netfilter/ |
H A D | nf_reject_ipv6.c | 229 if (dev_hard_header(nskb, nskb->dev, ntohs(nskb->protocol), in nf_send_reset6()
|
/kernel/linux/linux-5.10/net/netfilter/ipset/ |
H A D | ip_set_bitmap_port.c | 142 port = ntohs(__port); in bitmap_port_kadt()
|
/kernel/linux/linux-5.10/net/netfilter/ |
H A D | nf_conntrack_proto_gre.c | 188 pr_debug("Unsupported GRE proto(0x%x)\n", ntohs(grehdr->protocol)); in gre_pkt_to_tuple()
|
/kernel/linux/linux-5.10/include/linux/ |
H A D | ipv6.h | 110 return ntohs(ipv6_hdr(skb)->payload_len) + sizeof(struct ipv6hdr) - in ipv6_transport_len()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/engleder/ |
H A D | tsnep_rxnfc.c | 180 rule->filter.ether_type = ntohs(fsp->h_u.ether_spec.h_proto); in tsnep_rxnfc_init_rule()
|
/kernel/linux/linux-6.6/drivers/net/can/dev/ |
H A D | skb.c | 344 switch (ntohs(skb->protocol)) { in can_dropped_invalid_skb()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/netronome/nfp/ |
H A D | nfp_net_sriov.c | 139 vlan_tag |= FIELD_PREP(NFP_NET_VF_CFG_VLAN_PROT, ntohs(vlan_proto)); in nfp_app_set_vf_vlan()
|
/kernel/linux/linux-6.6/include/linux/ |
H A D | ipv6.h | 116 return ntohs(ipv6_hdr(skb)->payload_len) + sizeof(struct ipv6hdr) - in ipv6_transport_len()
|