Home
last modified time | relevance | path

Searched refs:ntohs (Results 576 - 600 of 1195) sorted by relevance

1...<<21222324252627282930>>...48

/kernel/linux/linux-6.6/tools/testing/selftests/bpf/prog_tests/
H A Dcgrp_local_storage.c113 cookie_expected_value = (ntohs(addr.sin6_port) << 8) | 0xFF; in test_attach_cgroup()
/kernel/linux/linux-6.6/tools/usb/usbip/src/
H A Dusbip_network.c72 i = ntohs(num); in usbip_net_pack_uint16_t()
/kernel/linux/linux-6.6/drivers/scsi/libfc/
H A Dfc_libfc.c197 fh->fh_seq_cnt = ntohs(seq_cnt); in fc_fill_hdr()
/kernel/linux/linux-6.6/net/ncsi/
H A Dncsi-aen.c27 if (ntohs(h->common.length) != payload) in ncsi_validate_aen_pkt()
/kernel/linux/linux-6.6/net/netfilter/ipvs/
H A Dip_vs_wrr.c214 IP_VS_DBG_ADDR(dest->af, &dest->addr), ntohs(dest->port), in ip_vs_wrr_schedule()
/kernel/linux/linux-6.6/net/dccp/
H A Dminisocks.c264 inet_rsk(req)->ir_num = ntohs(dccp_hdr(skb)->dccph_dport); in dccp_reqsk_init()
/kernel/linux/linux-6.6/net/dsa/
H A Dtag_ocelot.c32 if (ntohs(hdr->h_vlan_proto) == proto) { in ocelot_xmit_get_vlan_info()
/kernel/linux/linux-6.6/net/ipv6/
H A Dxfrm6_input.c145 ip6h->payload_len = htons(ntohs(ip6h->payload_len) - len); in xfrm6_udp_encap_rcv()
H A Dipcomp6.c58 spi = htonl(ntohs(ipcomph->cpi)); in ipcomp6_err()
/kernel/linux/linux-6.6/net/ipv4/
H A Dipcomp.c41 spi = htonl(ntohs(ipch->cpi)); in ipcomp4_err()
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/fm10k/
H A Dfm10k_netdev.c385 ntohs(interface->vxlan_port) | in fm10k_restore_udp_port_info()
390 ntohs(interface->geneve_port)); in fm10k_restore_udp_port_info()
550 ntohs(vhdr->h_vlan_TCI)); in fm10k_xmit_frame()
552 skb->protocol = (ntohs(proto) >= 1536) ? proto : in fm10k_xmit_frame()
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/cxgb4/
H A Dcxgb4_tc_flower.c184 ethtype_key = ntohs(match.key->n_proto); in cxgb4_process_flow_match()
185 ethtype_mask = ntohs(match.mask->n_proto); in cxgb4_process_flow_match()
333 ethtype_key = ntohs(match.key->n_proto); in cxgb4_validate_flow_match()
334 ethtype_mask = ntohs(match.mask->n_proto); in cxgb4_validate_flow_match()
/kernel/linux/linux-5.10/net/netfilter/
H A Dxt_hashlimit.c1102 ntohs(ent->dst.src_port), in dl_seq_print()
1104 ntohs(ent->dst.dst_port), in dl_seq_print()
1113 ntohs(ent->dst.src_port), in dl_seq_print()
1115 ntohs(ent->dst.dst_port), in dl_seq_print()
H A Dnf_conntrack_proto_tcp.c484 win_raw = ntohs(tcph->window); in tcp_in_window()
790 ct->proto.tcp.seen[0].td_maxwin = ntohs(th->window); in tcp_new()
810 ct->proto.tcp.seen[0].td_maxwin = ntohs(th->window); in tcp_new()
967 ct->proto.tcp.last_win = ntohs(th->window); in nf_conntrack_tcp_packet()
H A Dnf_flow_table_offload.c397 port = ntohs(flow->tuplehash[FLOW_OFFLOAD_DIR_REPLY].tuple.dst_port); in flow_offload_port_snat()
403 port = ntohs(flow->tuplehash[FLOW_OFFLOAD_DIR_ORIGINAL].tuple.src_port); in flow_offload_port_snat()
427 port = ntohs(flow->tuplehash[FLOW_OFFLOAD_DIR_REPLY].tuple.src_port); in flow_offload_port_dnat()
433 port = ntohs(flow->tuplehash[FLOW_OFFLOAD_DIR_ORIGINAL].tuple.dst_port); in flow_offload_port_dnat()
/kernel/linux/linux-5.10/net/l2tp/
H A Dl2tp_netlink.c331 if (nla_put_u16(skb, L2TP_ATTR_UDP_SPORT, ntohs(inet->inet_sport)) || in l2tp_nl_tunnel_send_addr6()
332 nla_put_u16(skb, L2TP_ATTR_UDP_DPORT, ntohs(inet->inet_dport))) in l2tp_nl_tunnel_send_addr6()
353 nla_put_u16(skb, L2TP_ATTR_UDP_SPORT, ntohs(inet->inet_sport)) || in l2tp_nl_tunnel_send_addr4()
354 nla_put_u16(skb, L2TP_ATTR_UDP_DPORT, ntohs(inet->inet_dport))) in l2tp_nl_tunnel_send_addr4()
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/fm10k/
H A Dfm10k_netdev.c385 ntohs(interface->vxlan_port) | in fm10k_restore_udp_port_info()
390 ntohs(interface->geneve_port)); in fm10k_restore_udp_port_info()
550 ntohs(vhdr->h_vlan_TCI)); in fm10k_xmit_frame()
552 skb->protocol = (ntohs(proto) >= 1536) ? proto : in fm10k_xmit_frame()
/kernel/linux/linux-6.6/drivers/net/ethernet/chelsio/cxgb4/
H A Dcxgb4_tc_flower.c184 ethtype_key = ntohs(match.key->n_proto); in cxgb4_process_flow_match()
185 ethtype_mask = ntohs(match.mask->n_proto); in cxgb4_process_flow_match()
333 ethtype_key = ntohs(match.key->n_proto); in cxgb4_validate_flow_match()
334 ethtype_mask = ntohs(match.mask->n_proto); in cxgb4_validate_flow_match()
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Dtc_tun.c976 ntohs(enc_ports.mask->dst)); in mlx5e_tc_tun_parse_udp_ports()
978 ntohs(enc_ports.key->dst)); in mlx5e_tc_tun_parse_udp_ports()
986 ntohs(enc_ports.mask->src)); in mlx5e_tc_tun_parse_udp_ports()
988 ntohs(enc_ports.key->src)); in mlx5e_tc_tun_parse_udp_ports()
/kernel/linux/linux-6.6/net/netfilter/
H A Dxt_hashlimit.c1102 ntohs(ent->dst.src_port), in dl_seq_print()
1104 ntohs(ent->dst.dst_port), in dl_seq_print()
1113 ntohs(ent->dst.src_port), in dl_seq_print()
1115 ntohs(ent->dst.dst_port), in dl_seq_print()
H A Dnf_flow_table_offload.c475 port = ntohs(flow->tuplehash[FLOW_OFFLOAD_DIR_REPLY].tuple.dst_port); in flow_offload_port_snat()
481 port = ntohs(flow->tuplehash[FLOW_OFFLOAD_DIR_ORIGINAL].tuple.src_port); in flow_offload_port_snat()
505 port = ntohs(flow->tuplehash[FLOW_OFFLOAD_DIR_REPLY].tuple.src_port); in flow_offload_port_dnat()
511 port = ntohs(flow->tuplehash[FLOW_OFFLOAD_DIR_ORIGINAL].tuple.dst_port); in flow_offload_port_dnat()
/kernel/linux/linux-6.6/net/batman-adv/
H A Dmulticast.c1074 switch (ntohs(ethhdr->h_proto)) { in batadv_mcast_forw_mode_check()
1104 switch (ntohs(ethhdr->h_proto)) { in batadv_mcast_forw_want_all_ip_count()
1353 switch (ntohs(eth_hdr(skb)->h_proto)) { in batadv_mcast_forw_want_all()
1456 switch (ntohs(eth_hdr(skb)->h_proto)) { in batadv_mcast_forw_want_rtr()
/kernel/linux/linux-6.6/net/l2tp/
H A Dl2tp_netlink.c331 if (nla_put_u16(skb, L2TP_ATTR_UDP_SPORT, ntohs(inet->inet_sport)) || in l2tp_nl_tunnel_send_addr6()
332 nla_put_u16(skb, L2TP_ATTR_UDP_DPORT, ntohs(inet->inet_dport))) in l2tp_nl_tunnel_send_addr6()
353 nla_put_u16(skb, L2TP_ATTR_UDP_SPORT, ntohs(inet->inet_sport)) || in l2tp_nl_tunnel_send_addr4()
354 nla_put_u16(skb, L2TP_ATTR_UDP_DPORT, ntohs(inet->inet_dport))) in l2tp_nl_tunnel_send_addr4()
/kernel/linux/linux-5.10/drivers/media/dvb-core/
H A Ddvb_net.c146 if (ntohs(eth->h_proto) >= ETH_P_802_3_MIN) in dvb_net_eth_type_trans()
189 if(ntohs(hdr->h_proto) < ETH_P_802_3_MIN) { in ule_bridged_sndu()
192 if(framelen != ntohs(hdr->h_proto)) { in ule_bridged_sndu()
239 p->ule_sndu_type = ntohs(*(__be16 *)p->ule_next_hdr); in handle_one_ule_extension()
242 p->ule_sndu_type = ntohs(*(__be16 *)(p->ule_next_hdr + ((p->ule_dbit ? 2 : 3) * ETH_ALEN))); in handle_one_ule_extension()
256 p->ule_sndu_type = ntohs( *(__be16 *)(p->ule_next_hdr-2) ); in handle_one_ule_extension()
/kernel/linux/linux-5.10/drivers/scsi/fcoe/
H A Dfcoe.c575 if (ntohs(frame->eth.h_proto) == ETH_P_FIP && in fcoe_fip_send()
576 ntohs(frame->fip.fip_op) == FIP_OP_VLAN && in fcoe_fip_send()
906 (ntohs(fh->fh_rx_id) == FC_XID_UNKNOWN)) { in fcoe_oem_match()
1406 cpu = ntohs(fh->fh_ox_id) & fc_cpu_mask; in fcoe_rcv()
1408 if (ntohs(fh->fh_rx_id) == FC_XID_UNKNOWN) in fcoe_rcv()
1411 cpu = ntohs(fh->fh_rx_id) & fc_cpu_mask; in fcoe_rcv()

Completed in 30 milliseconds

1...<<21222324252627282930>>...48