Home
last modified time | relevance | path

Searched refs:ntohs (Results 776 - 800 of 1195) sorted by relevance

1...<<31323334353637383940>>...48

/kernel/linux/linux-5.10/fs/nfs/
H A Dfs_context.c967 ctx->nfs_server.port = ntohs(data->addr.sin_port); in nfs23_parse_monolithic()
1148 ctx->nfs_server.port = ntohs(((struct sockaddr_in *)sap)->sin_port); in nfs4_parse_monolithic()
/kernel/linux/linux-5.10/fs/dlm/
H A Dlowcomms.c491 ntohs(inet->inet_dport), sk->sk_err, in lowcomms_error_report()
500 ntohs(inet->inet_dport), sk->sk_err, in lowcomms_error_report()
/kernel/linux/linux-5.10/net/ipv4/
H A Dicmp.c907 info = ntohs(icmph->un.frag.mtu); in icmp_unreach()
1178 olen = ntohs(objh->length); in ip_icmp_error_rfc4884_validate()
H A Daf_inet.c506 snum = ntohs(addr->sin_port); in __inet_bind()
1368 id = ntohs(iph->id); in inet_gso_segment()
1527 flush_id = (u16)(id - ntohs(iph2->id)); in inet_gro_receive()
/kernel/linux/linux-5.10/net/ipv6/
H A Desp6.c182 dport, &x->props.saddr.in6, ntohs(sport), 0, 0); in esp6_find_tcp_sk()
270 int len = ntohs(uh->len); in esp_output_encap_csum()
/kernel/linux/linux-5.10/net/netfilter/
H A Dnf_synproxy_core.c625 nth->window = htons(ntohs(th->window) >> opts->wscale); in synproxy_send_client_ack()
1040 nth->window = htons(ntohs(th->window) >> opts->wscale); in synproxy_send_client_ack_ipv6()
/kernel/linux/linux-5.10/drivers/platform/mellanox/
H A Dmlxbf-tmfifo.c651 if (ntohs(hdr.len) > in mlxbf_tmfifo_rxtx_header()
683 vring->pkt_len = ntohs(hdr.len) + hdr_len; in mlxbf_tmfifo_rxtx_header()
/kernel/linux/linux-6.6/fs/nfs/
H A Dfs_context.c1116 ctx->nfs_server.port = ntohs(data->addr.sin_port); in nfs23_parse_monolithic()
1301 ctx->nfs_server.port = ntohs(((struct sockaddr_in *)sap)->sin_port); in nfs4_parse_monolithic()
/kernel/linux/linux-6.6/drivers/platform/mellanox/
H A Dmlxbf-tmfifo.c679 if (ntohs(hdr.len) > in mlxbf_tmfifo_rxtx_header()
711 vring->pkt_len = ntohs(hdr.len) + hdr_len; in mlxbf_tmfifo_rxtx_header()
/kernel/linux/linux-6.6/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
H A Dcore.c425 brcmf_dbg(DATA, "rx proto=0x%X\n", ntohs(skb->protocol)); in brcmf_netif_rx()
544 type = ntohs(eh->h_proto); in brcmf_txfinalize()
/kernel/linux/linux-6.6/drivers/hsi/clients/
H A Dssi_protocol.c628 ((u16 *)skb->data)[2] = ntohs(((u16 *)skb->data)[2]); in ssip_pn_rx()
630 ((u16 *)skb->data)[2], ntohs(((u16 *)skb->data)[2])); in ssip_pn_rx()
/kernel/linux/linux-6.6/drivers/isdn/mISDN/
H A Dl1oip_core.c620 ntohs(hc->sin_remote.sin_port), in l1oip_socket_parse()
621 ntohs(sin->sin_port)); in l1oip_socket_parse()
/kernel/linux/linux-6.6/net/sunrpc/
H A Dsvc_xprt.c593 return ntohs(((struct sockaddr_in *)sin)->sin_port) in svc_port_is_privileged()
596 return ntohs(((struct sockaddr_in6 *)sin)->sin6_port) in svc_port_is_privileged()
/kernel/linux/linux-6.6/net/xfrm/
H A Dxfrm_interface_core.c610 spi = htonl(ntohs(ipch->cpi)); in xfrmi4_err()
671 spi = htonl(ntohs(ipch->cpi)); in xfrmi6_err()
/kernel/liteos_a/net/lwip-2.1/enhancement/src/
H A Ddhcps.c405 else if (ntohs(client_msg->flags) & DHCP_BROADCAST_FLAG) { in handle_discover()
620 } else if (ntohs(client_msg->flags) & DHCP_BROADCAST_FLAG) { in handle_request()
/kernel/linux/linux-6.6/net/ipv6/
H A Desp6.c182 dport, &x->props.saddr.in6, ntohs(sport), 0, 0); in esp6_find_tcp_sk()
270 int len = ntohs(uh->len); in esp_output_encap_csum()
/kernel/linux/linux-6.6/net/netfilter/
H A Dnf_synproxy_core.c602 nth->window = htons(ntohs(th->window) >> opts->wscale); in synproxy_send_client_ack()
1017 nth->window = htons(ntohs(th->window) >> opts->wscale); in synproxy_send_client_ack_ipv6()
H A Dnfnetlink_log.c886 u_int16_t group_num = ntohs(info->nfmsg->res_id); in nfulnl_recv_config()
916 flags = ntohs(nla_get_be16(nfula[NFULA_CFG_FLAGS])); in nfulnl_recv_config()
/kernel/linux/linux-6.6/net/ipv4/
H A Dip_tunnel_core.c248 eth_header(skb, skb->dev, ntohs(eh.h_proto), eh.h_source, eh.h_dest, 0); in iptunnel_pmtud_build_icmp()
341 eth_header(skb, skb->dev, ntohs(eh.h_proto), eh.h_source, eh.h_dest, 0); in iptunnel_pmtud_build_icmpv6()
/kernel/linux/linux-6.6/net/openvswitch/
H A Dflow.c776 if (ntohs(arp->ar_op) <= 0xff) in key_extract_l3l4()
777 key->ip.proto = ntohs(arp->ar_op); in key_extract_l3l4()
/kernel/linux/linux-5.10/drivers/firewire/
H A Dnet.c538 if (ntohs(eth->h_proto) >= ETH_P_802_3_MIN) { in fwnet_finish_incoming_packet()
1326 fwnet_make_uf_hdr(&ptask->hdr, ntohs(proto)); in fwnet_tx()
1334 fwnet_make_ff_hdr(&ptask->hdr, ntohs(proto), dg_size, in fwnet_tx()
/kernel/linux/linux-5.10/drivers/net/ethernet/sfc/
H A Dsiena_sriov.c325 vlan = ntohs(vf->addr.tci) & VLAN_VID_MASK; in efx_siena_sriov_reset_tx_filter()
363 vlan = ntohs(vf->addr.tci) & VLAN_VID_MASK; in efx_siena_sriov_reset_rx_filter()
1670 tci = ntohs(vf->addr.tci); in efx_siena_sriov_get_vf_config()
/kernel/linux/linux-5.10/drivers/net/ethernet/qlogic/qede/
H A Dqede_fp.c953 ntohs(skb->protocol)); in qede_gro_receive()
1810 (ntohs(udp_hdr(skb)->dest) != vxln_port && in qede_features_check()
1811 ntohs(udp_hdr(skb)->dest) != gnv_port)) in qede_features_check()
/kernel/linux/linux-5.10/drivers/net/wireless/marvell/mwifiex/
H A Dmain.c774 if (ntohs(eth_hdr->h_proto) == ETH_P_PAE || in mwifiex_bypass_tx_queue()
778 (ntohs(eth_hdr->h_proto) == ETH_P_TDLS))) { in mwifiex_bypass_tx_queue()
781 ntohs(eth_hdr->h_proto), in mwifiex_bypass_tx_queue()
/kernel/linux/linux-5.10/net/bridge/
H A Dbr_vlan.c850 *p_proto = ntohs(br->vlan_proto); in br_vlan_get_proto()
862 .u.vlan_protocol = ntohs(proto), in __br_vlan_set_proto()
907 attr.u.vlan_protocol = ntohs(oldproto); in __br_vlan_set_proto()

Completed in 43 milliseconds

1...<<31323334353637383940>>...48