Searched refs:ntohs (Results 251 - 275 of 604) sorted by relevance
<<11121314151617181920>>
/linux-master/drivers/net/ethernet/sfc/falcon/ |
H A D | rx.c | 896 spec.rem_host, ntohs(spec.rem_port), spec.loc_host, 897 ntohs(spec.loc_port), rxq_index, flow_id, rc); 902 spec.rem_host, ntohs(spec.rem_port), spec.loc_host, 903 ntohs(spec.loc_port), rxq_index, flow_id, rc);
|
/linux-master/net/ipv4/ |
H A D | ipcomp.c | 41 spi = htonl(ntohs(ipch->cpi));
|
/linux-master/net/l2tp/ |
H A D | l2tp_netlink.c | 331 if (nla_put_u16(skb, L2TP_ATTR_UDP_SPORT, ntohs(inet->inet_sport)) || 332 nla_put_u16(skb, L2TP_ATTR_UDP_DPORT, ntohs(inet->inet_dport))) 353 nla_put_u16(skb, L2TP_ATTR_UDP_SPORT, ntohs(inet->inet_sport)) || 354 nla_put_u16(skb, L2TP_ATTR_UDP_DPORT, ntohs(inet->inet_dport)))
|
/linux-master/net/ipv6/ |
H A D | ipcomp6.c | 58 spi = htonl(ntohs(ipcomph->cpi));
|
H A D | xfrm6_input.c | 128 ip6h->payload_len = htons(ntohs(ip6h->payload_len) - len);
|
H A D | tcpv6_offload.c | 41 &hdr->daddr, ntohs(th->dest),
|
/linux-master/drivers/net/ethernet/engleder/ |
H A D | tsnep_rxnfc.c | 180 rule->filter.ether_type = ntohs(fsp->h_u.ether_spec.h_proto);
|
/linux-master/drivers/net/ethernet/qualcomm/rmnet/ |
H A D | rmnet_handlers.c | 74 len = ntohs(map_header->pkt_len) - pad;
|
/linux-master/drivers/net/ethernet/mediatek/ |
H A D | mtk_ppe_debugfs.c | 161 h_source, h_dest, ntohs(l2->etype),
|
/linux-master/drivers/net/can/dev/ |
H A D | skb.c | 344 switch (ntohs(skb->protocol)) {
|
/linux-master/net/sched/ |
H A D | sch_frag.c | 129 ntohs(skb_protocol(skb, true)), mru,
|
H A D | cls_flow.c | 97 return ntohs(flow->ports.src); 106 return ntohs(flow->ports.dst); 181 return ntohs(CTTUPLE(skb, src.u.all)); 189 return ntohs(CTTUPLE(skb, dst.u.all));
|
H A D | cls_flower.c | 220 min_mask = ntohs(filter->mask->key.tp_range.tp_min.dst); 221 max_mask = ntohs(filter->mask->key.tp_range.tp_max.dst); 222 min_val = ntohs(filter->key.tp_range.tp_min.dst); 223 max_val = ntohs(filter->key.tp_range.tp_max.dst); 226 if (ntohs(key->tp_range.tp.dst) < min_val || 227 ntohs(key->tp_range.tp.dst) > max_val) 243 min_mask = ntohs(filter->mask->key.tp_range.tp_min.src); 244 max_mask = ntohs(filter->mask->key.tp_range.tp_max.src); 245 min_val = ntohs(filter->key.tp_range.tp_min.src); 246 max_val = ntohs(filte [all...] |
/linux-master/net/netfilter/ipvs/ |
H A D | ip_vs_wrr.c | 214 IP_VS_DBG_ADDR(dest->af, &dest->addr), ntohs(dest->port),
|
H A D | ip_vs_ctl.c | 317 unsigned int porth = ntohs(port); 479 (vport == FTPDATA || !inet_port_requires_bind_service(ipvs->net, ntohs(vport)))) { 498 IP_VS_DBG_ADDR(af, vaddr), ntohs(vport), 532 ntohs(svc->port)); 545 unsigned int porth = ntohs(port); 796 ntohs(dest->port), 1173 IP_VS_DBG_ADDR(udest->af, &daddr), ntohs(dport), 1177 ntohs(dest->vport)); 1254 IP_VS_DBG_ADDR(dest->af, &dest->addr), ntohs(dest->port), 1353 ntohs(des [all...] |
/linux-master/net/netfilter/ |
H A D | nft_byteorder.c | 78 d16[i] = ntohs((__force __be16)s16[i]);
|
/linux-master/net/ncsi/ |
H A D | ncsi-aen.c | 27 if (ntohs(h->common.length) != payload)
|
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/en/ |
H A D | tc_tun.c | 980 ntohs(enc_ports.mask->dst)); 982 ntohs(enc_ports.key->dst)); 990 ntohs(enc_ports.mask->src)); 992 ntohs(enc_ports.key->src));
|
/linux-master/net/dsa/ |
H A D | tag_ocelot.c | 32 if (ntohs(hdr->h_vlan_proto) == proto) {
|
/linux-master/tools/testing/selftests/bpf/prog_tests/ |
H A D | cgrp_local_storage.c | 130 cookie_expected_value = (ntohs(addr.sin6_port) << 8) | 0xFF;
|
/linux-master/net/bridge/ |
H A D | br_netfilter_ipv6.c | 61 pkt_len = ntohs(hdr->payload_len);
|
/linux-master/include/linux/ |
H A D | ipv6.h | 123 return ntohs(ipv6_hdr(skb)->payload_len) + sizeof(struct ipv6hdr) -
|
/linux-master/tools/testing/selftests/net/ |
H A D | txtimestamp.c | 426 csum_len = ntohs(udph->len) + alen * 2; 472 udph->source = ntohs(dest_port + 1); /* spoof */ 473 udph->dest = ntohs(dest_port); 474 udph->len = ntohs(sizeof(*udph) + cfg_payload_len);
|
/linux-master/drivers/net/ethernet/chelsio/cxgb4/ |
H A D | cxgb4_tc_flower.c | 184 ethtype_key = ntohs(match.key->n_proto); 185 ethtype_mask = ntohs(match.mask->n_proto); 337 ethtype_key = ntohs(match.key->n_proto); 338 ethtype_mask = ntohs(match.mask->n_proto);
|
/linux-master/net/dccp/ |
H A D | minisocks.c | 265 inet_rsk(req)->ir_num = ntohs(dccp_hdr(skb)->dccph_dport);
|
Completed in 278 milliseconds
<<11121314151617181920>>