Home
last modified time | relevance | path

Searched refs:ntohs (Results 226 - 250 of 1367) sorted by relevance

12345678910>>...55

/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ice/
H A Dice_dcb.c294 typelen = ntohs(tlv->typelen); in ice_parse_ieee_app_tlv()
466 typelen = ntohs(tlv->hdr.typelen); in ice_parse_cee_app_tlv()
499 dcbcfg->app[i].prot_id = ntohs(app->protocol); in ice_parse_cee_app_tlv()
528 typelen = ntohs(tlv->typelen); in ice_parse_cee_tlv()
540 typelen = ntohs(sub_tlv->hdr.typelen); in ice_parse_cee_tlv()
617 typelen = ntohs(tlv->typelen); in ice_lldp_to_dcb_cfg()
1257 typelen = ntohs(tlv->typelen); in ice_dcb_cfg_to_lldp()
/kernel/linux/linux-5.10/net/sctp/
H A Dulpevent.c145 ntohs(chunk->chunk_hdr->length) - in sctp_ulpevent_make_assoc_change()
387 elen = SCTP_PAD4(ntohs(ch->length)) - sizeof(*ch); in sctp_ulpevent_make_remote_error()
439 int len = ntohs(chunk->chunk_hdr->length); in sctp_ulpevent_make_send_failed()
546 len = ntohs(chunk->chunk_hdr->length); in sctp_ulpevent_make_send_failed_event()
695 datalen = ntohs(chunk->chunk_hdr->length); in sctp_ulpevent_make_rcvmsg()
747 event->stream = ntohs(chunk->subh.data_hdr->stream); in sctp_ulpevent_make_rcvmsg()
912 sreset->strreset_stream_list[i] = ntohs(stream_list[i]); in sctp_ulpevent_make_stream_reset_event()
/kernel/linux/linux-6.6/net/sctp/
H A Dulpevent.c145 ntohs(chunk->chunk_hdr->length) - in sctp_ulpevent_make_assoc_change()
387 elen = SCTP_PAD4(ntohs(ch->length)) - sizeof(*ch); in sctp_ulpevent_make_remote_error()
439 int len = ntohs(chunk->chunk_hdr->length); in sctp_ulpevent_make_send_failed()
546 len = ntohs(chunk->chunk_hdr->length); in sctp_ulpevent_make_send_failed_event()
695 datalen = ntohs(chunk->chunk_hdr->length); in sctp_ulpevent_make_rcvmsg()
747 event->stream = ntohs(chunk->subh.data_hdr->stream); in sctp_ulpevent_make_rcvmsg()
912 sreset->strreset_stream_list[i] = ntohs(stream_list[i]); in sctp_ulpevent_make_stream_reset_event()
/third_party/curl/tests/server/
H A Dtftpd.c727 port = ntohs(localaddr.sa4.sin_port); in main()
731 port = ntohs(localaddr.sa6.sin6_port); in main()
823 tp->th_opcode = ntohs(tp->th_opcode); in main()
1218 sap->th_opcode = ntohs((unsigned short)sap->th_opcode); in sendtftp()
1219 sap->th_block = ntohs(sap->th_block); in sendtftp()
1290 rdp->th_opcode = ntohs((unsigned short)rdp->th_opcode); in recvtftp()
1291 rdp->th_block = ntohs(rdp->th_block); in recvtftp()
/kernel/liteos_m/kal/libc/newlib/porting/src/network/
H A Dntohs.c34 uint16_t ntohs(uint16_t n) in ntohs() function
/third_party/musl/porting/liteos_a/kernel/src/network/
H A Dntohs.c4 uint16_t ntohs(uint16_t n) in ntohs() function
/third_party/musl/porting/liteos_m/kernel/src/network/
H A Dntohs.c4 uint16_t ntohs(uint16_t n) in ntohs() function
/third_party/musl/porting/liteos_m_iccarm/kernel/src/network/
H A Dntohs.c4 uint16_t ntohs(uint16_t n) in ntohs() function
/third_party/musl/porting/uniproton/kernel/src/network/
H A Dntohs.c4 uint16_t ntohs(uint16_t n) in ntohs() function
/third_party/musl/src/network/
H A Dntohs.c4 uint16_t ntohs(uint16_t n) in ntohs() function
/kernel/linux/common_modules/newip/third_party/linux-5.10/net/newip/
H A Dnip_sockglue.c192 name, saddr, daddr, ntohs(sport), ntohs(dport)); in nip_sock_debug_output()
/kernel/linux/linux-5.10/net/netfilter/
H A Dxt_multiport.c105 return ports_match_v1(multiinfo, ntohs(pptr[0]), ntohs(pptr[1])); in multiport_mt()
H A Dxt_l2tp.c99 flags = ntohs(lh->val16[0]); in l2tp_udp_mt()
126 data.tid = (u32) ntohs(lh->val16[0]); in l2tp_udp_mt()
127 data.sid = (u32) ntohs(lh->val16[1]); in l2tp_udp_mt()
H A Dnf_conntrack_proto_udp.c61 if (ntohs(hdr->len) > udplen || ntohs(hdr->len) < sizeof(*hdr)) { in udp_error()
156 cscov = ntohs(hdr->len); in udplite_error()
/kernel/linux/linux-5.10/net/bridge/netfilter/
H A Debt_ip6.c82 u16 dst = ntohs(pptr->tcpudphdr.dst); in ebt_ip6_mt()
89 u16 src = ntohs(pptr->tcpudphdr.src); in ebt_ip6_mt()
/kernel/linux/linux-5.10/net/ipv4/netfilter/
H A Dnf_tproxy_ipv4.c148 protocol, ntohl(saddr), ntohs(sport), ntohl(daddr), ntohs(dport), lookup_type, sk); in nf_tproxy_get_sock_v4()
/kernel/linux/linux-5.10/net/ipv6/
H A Dexthdrs_core.c99 if (ntohs(*frag_offp) & ~0x7) in ipv6_skip_exthdr()
250 _frag_off = ntohs(*fp) & ~0x7; in ipv6_find_hdr()
/kernel/linux/linux-6.6/net/ipv4/netfilter/
H A Dnf_tproxy_ipv4.c144 protocol, ntohl(saddr), ntohs(sport), ntohl(daddr), ntohs(dport), lookup_type, sk); in nf_tproxy_get_sock_v4()
/kernel/linux/linux-6.6/net/bridge/netfilter/
H A Debt_ip6.c82 u16 dst = ntohs(pptr->tcpudphdr.dst); in ebt_ip6_mt()
89 u16 src = ntohs(pptr->tcpudphdr.src); in ebt_ip6_mt()
/kernel/linux/linux-6.6/net/ipv6/
H A Dexthdrs_core.c99 if (ntohs(*frag_offp) & ~0x7) in ipv6_skip_exthdr()
250 _frag_off = ntohs(*fp) & ~0x7; in ipv6_find_hdr()
/kernel/linux/linux-6.6/net/netfilter/
H A Dxt_multiport.c105 return ports_match_v1(multiinfo, ntohs(pptr[0]), ntohs(pptr[1])); in multiport_mt()
/kernel/linux/linux-5.10/net/rds/
H A Dcong.c305 &map->m_addr, ntohs(port), map); in rds_cong_set_bit()
319 &map->m_addr, ntohs(port), map); in rds_cong_clear_bit()
380 rs->rs_cong_mask |= RDS_CONG_MONITOR_MASK(ntohs(port)); in rds_cong_wait()
/kernel/linux/linux-5.10/include/net/
H A Dinet_hashtables.h261 daddr, ntohs(dport), dif, sdif); in inet_lookup_listener()
323 ntohs(dport), dif, 0); in inet_lookup_established()
334 u16 hnum = ntohs(dport); in __inet_lookup()
/kernel/linux/linux-5.10/drivers/net/ethernet/rocker/
H A Drocker_hw.h438 ROCKER_GROUP_VLAN_SET(ntohs(vlan_id)) | ROCKER_GROUP_PORT_SET(port))
444 ROCKER_GROUP_VLAN_SET(ntohs(vlan_id)) | ROCKER_GROUP_INDEX_SET(index))
447 ROCKER_GROUP_VLAN_SET(ntohs(vlan_id)) | ROCKER_GROUP_INDEX_SET(index))
/kernel/linux/linux-6.6/drivers/net/ethernet/rocker/
H A Drocker_hw.h438 ROCKER_GROUP_VLAN_SET(ntohs(vlan_id)) | ROCKER_GROUP_PORT_SET(port))
444 ROCKER_GROUP_VLAN_SET(ntohs(vlan_id)) | ROCKER_GROUP_INDEX_SET(index))
447 ROCKER_GROUP_VLAN_SET(ntohs(vlan_id)) | ROCKER_GROUP_INDEX_SET(index))

Completed in 15 milliseconds

12345678910>>...55