/kernel/linux/linux-6.6/net/dsa/ |
H A D | tag_rtl4_a.c | 84 etype = ntohs(*p); in rtl4a_tag_rcv() 91 protport = ntohs(*p); in rtl4a_tag_rcv()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/brocade/bna/ |
H A D | bfa_msgq.c | 234 cmdq->consumer_index = ntohs(dbell->idx.cmdq_ci); in bfa_msgq_cmdq_ci_update() 240 if (ntohs(cmd->msg_hdr->num_entries) <= in bfa_msgq_cmdq_ci_update() 271 cmdq->offset = ntohs(req->offset); in bfa_msgq_cmdq_copy_req() 272 cmdq->bytes_to_copy = ntohs(req->len); in bfa_msgq_cmdq_copy_req() 468 rspq->producer_index = ntohs(dbell->idx.rspq_pi); in bfa_msgq_rspq_pi_update() 476 num_entries = ntohs(msghdr->num_entries); in bfa_msgq_rspq_pi_update() 626 if (ntohs(cmd->msg_hdr->num_entries) <= in bfa_msgq_cmd_post()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/brocade/bna/ |
H A D | bfa_msgq.c | 232 cmdq->consumer_index = ntohs(dbell->idx.cmdq_ci); in bfa_msgq_cmdq_ci_update() 238 if (ntohs(cmd->msg_hdr->num_entries) <= in bfa_msgq_cmdq_ci_update() 269 cmdq->offset = ntohs(req->offset); in bfa_msgq_cmdq_copy_req() 270 cmdq->bytes_to_copy = ntohs(req->len); in bfa_msgq_cmdq_copy_req() 466 rspq->producer_index = ntohs(dbell->idx.rspq_pi); in bfa_msgq_rspq_pi_update() 474 num_entries = ntohs(msghdr->num_entries); in bfa_msgq_rspq_pi_update() 624 if (ntohs(cmd->msg_hdr->num_entries) <= in bfa_msgq_cmd_post()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/mscc/ |
H A D | ocelot_flower.c | 207 switch (ntohs(a->vlan.proto)) { in ocelot_flower_parse_egress_vlan_modify() 468 switch (ntohs(a->vlan.proto)) { in ocelot_flower_parse_action() 579 u16 proto = ntohs(f->common.protocol); in ocelot_flower_parse_key() 677 if (ntohs(match.key->n_proto) == ETH_P_IP) { in ocelot_flower_parse_key() 691 if (ntohs(match.key->n_proto) == ETH_P_IPV6) { in ocelot_flower_parse_key() 755 filter->key.ipv4.sport.value = ntohs(match.key->src); in ocelot_flower_parse_key() 756 filter->key.ipv4.sport.mask = ntohs(match.mask->src); in ocelot_flower_parse_key() 757 filter->key.ipv4.dport.value = ntohs(match.key->dst); in ocelot_flower_parse_key() 758 filter->key.ipv4.dport.mask = ntohs(match.mask->dst); in ocelot_flower_parse_key()
|
/kernel/linux/linux-5.10/net/netfilter/ |
H A D | xt_conntrack.c | 134 ntohs(tuple->src.u.all), in ct_proto_port_check_v3() 140 ntohs(tuple->dst.u.all), in ct_proto_port_check_v3() 148 ntohs(tuple->src.u.all), in ct_proto_port_check_v3() 154 ntohs(tuple->dst.u.all), in ct_proto_port_check_v3()
|
/kernel/linux/linux-5.10/include/trace/events/ |
H A D | net.h | 45 __entry->vlan_proto = ntohs(skb->vlan_proto); 47 __entry->protocol = ntohs(skb->protocol); 202 __entry->vlan_proto = ntohs(skb->vlan_proto); 204 __entry->protocol = ntohs(skb->protocol);
|
/kernel/linux/linux-5.10/fs/afs/ |
H A D | vl_alias.c | 56 port_a = ntohs(a->sin_port); in afs_compare_addrs() 57 port_b = ntohs(b->sin_port); in afs_compare_addrs() 68 port_a = ntohs(a->sin6_port); in afs_compare_addrs() 69 port_b = ntohs(b->sin6_port); in afs_compare_addrs()
|
/kernel/linux/linux-5.10/net/dsa/ |
H A D | tag_sja1105.c | 16 if (ntohs(hdr->h_proto) == ETH_P_SJA1105_META) in sja1105_is_link_local() 67 if (ntohs(hdr->h_proto) != ETH_P_SJA1105_META) in sja1105_is_meta_frame() 87 vlan_tci = ntohs(hdr->h_vlan_TCI); in sja1105_can_use_vlan_as_tags() 292 tpid = ntohs(hdr->h_proto); in sja1105_rcv()
|
/kernel/linux/linux-5.10/net/netfilter/ipvs/ |
H A D | ip_vs_proto.c | 238 &ih->saddr, ntohs(pptr[0]), in ip_vs_tcpudp_debug_packet_v4() 239 &ih->daddr, ntohs(pptr[1])); in ip_vs_tcpudp_debug_packet_v4() 270 &ih->saddr, ntohs(pptr[0]), in ip_vs_tcpudp_debug_packet_v6() 271 &ih->daddr, ntohs(pptr[1])); in ip_vs_tcpudp_debug_packet_v6()
|
H A D | ip_vs_sh.c | 94 return (offset + hash_32(ntohs(port) + ntohl(addr_fold), in ip_vs_sh_hashkey() 137 IP_VS_DBG_ADDR(dest->af, &dest->addr), ntohs(dest->port)); in ip_vs_sh_get_fallback() 153 ntohs(dest->port), roffset); in ip_vs_sh_get_fallback() 339 ntohs(dest->port)); in ip_vs_sh_schedule()
|
/kernel/linux/linux-6.6/fs/afs/ |
H A D | vl_alias.c | 56 port_a = ntohs(a->sin_port); in afs_compare_addrs() 57 port_b = ntohs(b->sin_port); in afs_compare_addrs() 68 port_a = ntohs(a->sin6_port); in afs_compare_addrs() 69 port_b = ntohs(b->sin6_port); in afs_compare_addrs()
|
/kernel/linux/linux-6.6/include/trace/events/ |
H 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);
|
/kernel/linux/linux-6.6/drivers/i2c/busses/ |
H A D | i2c-cp2615.c | 133 msg, ntohs(msg->length), NULL, 0); in cp2615_i2c_send() 183 msg, ntohs(msg->length), NULL, 0); in cp2615_check_iop() 197 switch (ntohs(info->part_id)) { in cp2615_check_iop() 205 dev_warn(&usbif->dev, "Unknown part ID %04X\n", ntohs(info->part_id)); in cp2615_check_iop()
|
/kernel/linux/linux-6.6/net/netfilter/ |
H A D | xt_conntrack.c | 134 ntohs(tuple->src.u.all), in ct_proto_port_check_v3() 140 ntohs(tuple->dst.u.all), in ct_proto_port_check_v3() 148 ntohs(tuple->src.u.all), in ct_proto_port_check_v3() 154 ntohs(tuple->dst.u.all), in ct_proto_port_check_v3()
|
H A D | xt_tcpudp.c | 100 ntohs(th->source), in tcp_mt() 104 ntohs(th->dest), in tcp_mt() 152 ntohs(uh->source), in udp_mt() 155 ntohs(uh->dest), in udp_mt()
|
H A D | nf_conntrack_standalone.c | 59 ntohs(tuple->src.u.icmp.id)); in print_tuple() 63 ntohs(tuple->src.u.tcp.port), in print_tuple() 64 ntohs(tuple->dst.u.tcp.port)); in print_tuple() 69 ntohs(tuple->src.u.udp.port), in print_tuple() 70 ntohs(tuple->dst.u.udp.port)); in print_tuple() 75 ntohs(tuple->src.u.dccp.port), in print_tuple() 76 ntohs(tuple->dst.u.dccp.port)); in print_tuple() 80 ntohs(tuple->src.u.sctp.port), in print_tuple() 81 ntohs(tuple->dst.u.sctp.port)); in print_tuple() 87 ntohs(tupl in print_tuple() [all...] |
/kernel/linux/linux-6.6/net/netfilter/ipvs/ |
H A D | ip_vs_proto.c | 238 &ih->saddr, ntohs(pptr[0]), in ip_vs_tcpudp_debug_packet_v4() 239 &ih->daddr, ntohs(pptr[1])); in ip_vs_tcpudp_debug_packet_v4() 270 &ih->saddr, ntohs(pptr[0]), in ip_vs_tcpudp_debug_packet_v6() 271 &ih->daddr, ntohs(pptr[1])); in ip_vs_tcpudp_debug_packet_v6()
|
H A D | ip_vs_sh.c | 94 return (offset + hash_32(ntohs(port) + ntohl(addr_fold), in ip_vs_sh_hashkey() 137 IP_VS_DBG_ADDR(dest->af, &dest->addr), ntohs(dest->port)); in ip_vs_sh_get_fallback() 153 ntohs(dest->port), roffset); in ip_vs_sh_get_fallback() 339 ntohs(dest->port)); in ip_vs_sh_schedule()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/wps/ |
H A D | http_server.c | 50 ntohs(req->cli.sin_port)); in http_request_cb() 56 ntohs(req->cli.sin_port)); in http_request_cb() 139 ntohs(req->cli.sin_port)); in http_request_send() 214 inet_ntoa(addr.sin_addr), ntohs(addr.sin_port)); in http_server_cb()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/wps/ |
H A D | http_server.c | 50 ntohs(req->cli.sin_port)); in http_request_cb() 56 ntohs(req->cli.sin_port)); in http_request_cb() 139 ntohs(req->cli.sin_port)); in http_request_send() 214 inet_ntoa(addr.sin_addr), ntohs(addr.sin_port)); in http_server_cb()
|
/kernel/linux/linux-6.6/net/sctp/ |
H A D | input.c | 661 info = ntohs(hdr->un.frag.mtu); in sctp_udp_v4_err() 694 if (!ch || ntohs(ch->length) < sizeof(_ch)) in sctp_rcv_ootb() 697 ch_end = offset + SCTP_PAD4(ntohs(ch->length)); in sctp_rcv_ootb() 850 hash = sctp_ep_hashfn(net, ntohs(lport)); in __sctp_rcv_lookup_endpoint() 1198 if (ntohs(ch->length) < sizeof(*asconf) + sizeof(struct sctp_paramhdr)) in __sctp_rcv_asconf_lookup() 1242 if (ntohs(ch->length) < sizeof(*ch)) in __sctp_rcv_walk_lookup() 1245 ch_end = ((__u8 *)ch) + SCTP_PAD4(ntohs(ch->length)); in __sctp_rcv_walk_lookup() 1316 if (SCTP_PAD4(ntohs(ch->length)) > skb->len) in __sctp_rcv_lookup_harder() 1350 &laddr->v4.sin_addr, ntohs(laddr->v4.sin_port), in __sctp_rcv_lookup() 1351 &paddr->v4.sin_addr, ntohs(padd in __sctp_rcv_lookup() [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/marvell/octeontx2/af/ |
H A D | rvu_npc_fs.c | 932 NPC_WRITE_FLOW(NPC_ETYPE, etype, ntohs(pkt->etype), 0, in npc_update_flow() 933 ntohs(mask->etype), 0); in npc_update_flow() 941 NPC_WRITE_FLOW(NPC_SPORT_TCP, sport, ntohs(pkt->sport), 0, in npc_update_flow() 942 ntohs(mask->sport), 0); in npc_update_flow() 943 NPC_WRITE_FLOW(NPC_SPORT_UDP, sport, ntohs(pkt->sport), 0, in npc_update_flow() 944 ntohs(mask->sport), 0); in npc_update_flow() 945 NPC_WRITE_FLOW(NPC_DPORT_TCP, dport, ntohs(pkt->dport), 0, in npc_update_flow() 946 ntohs(mask->dport), 0); in npc_update_flow() 947 NPC_WRITE_FLOW(NPC_DPORT_UDP, dport, ntohs(pkt->dport), 0, in npc_update_flow() 948 ntohs(mas in npc_update_flow() [all...] |
/kernel/linux/linux-5.10/net/rds/ |
H A D | bind.c | 88 ntohs(port)); in rds_find_bound() 135 rs, addr, (int)ntohs(*port)); in rds_add_bound() 156 ntohs(rs->rs_bound_port)); in rds_remove_bound()
|
/kernel/linux/linux-6.6/net/rds/ |
H A D | bind.c | 88 ntohs(port)); in rds_find_bound() 135 rs, addr, (int)ntohs(*port)); in rds_add_bound() 156 ntohs(rs->rs_bound_port)); in rds_remove_bound()
|
/third_party/ltp/testcases/network/sockets/ |
H A D | ltpServer.c | 250 ntohs(udpClientAddr.sin_port), message); in ltp_udp_server_queue() 291 ntohs(tcpClientAddr.sin_port), message); in ltp_tcp_server_queue() 410 ntohs(multiClientAddr.sin_port), hostname, message); in ltp_multi_server_queue()
|