Searched refs:ntohs (Results 201 - 225 of 599) sorted by last modified time
1234567891011>>
/linux-master/include/linux/netfilter/ipset/ |
H A D | ip_set.h | 398 return ntohs(nla_get_be16(attr));
|
/linux-master/drivers/net/ethernet/marvell/octeontx2/nic/ |
H A D | otx2_txrx.c | 1048 switch (ntohs(proto)) { 1116 if (ntohs(eth->h_proto) == ETH_P_IPV6)
|
/linux-master/drivers/net/ethernet/broadcom/bnxt/ |
H A D | bnxt_ptp.c | 52 *seq_id = ntohs(hdr->sequence_id);
|
/linux-master/drivers/platform/mellanox/ |
H A D | mlxbf-tmfifo.c | 679 if (ntohs(hdr.len) > 711 vring->pkt_len = ntohs(hdr.len) + hdr_len;
|
/linux-master/net/netfilter/ |
H A D | nft_synproxy.c | 161 priv->info.mss = ntohs(nla_get_be16(tb[NFTA_SYNPROXY_MSS]));
|
H A D | nfnetlink_log.c | 886 u_int16_t group_num = ntohs(info->nfmsg->res_id); 916 flags = ntohs(nla_get_be16(nfula[NFULA_CFG_FLAGS]));
|
H A D | nf_log_syslog.c | 57 nf_log_buf_add(m, "VPROTO=%04x VID=%u ", ntohs(skb->vlan_proto), vid); 86 ntohs(eth_hdr(skb)->h_proto)); 90 ntohs(ah->ar_hrd), ntohs(ah->ar_pro), ntohs(ah->ar_op)); 207 ntohs(th->source), ntohs(th->dest)); 215 nf_log_buf_add(m, "WINDOW=%u ", ntohs(th->window)); 237 nf_log_buf_add(m, "URGP=%u ", ntohs(th->urg_ptr)); 291 ntohs(u [all...] |
/linux-master/include/net/ |
H A D | llc_pdu.h | 354 dsize = ntohs(eth_hdr(ev_skb)->h_proto) - 3;
|
/linux-master/scripts/ |
H A D | checkpatch.pl | 6569 $line =~ /(__constant_(?:htons|ntohs|[bl]e(?:16|32|64)_to_cpu|cpu_to_[bl]e(?:16|32|64)))\s*\(/) {
|
/linux-master/net/netfilter/ipvs/ |
H A D | ip_vs_xmit.c | 771 IP_VS_DBG(10, "filled cport=%d\n", ntohs(*p)); 854 IP_VS_DBG(10, "filled cport=%d\n", ntohs(*p)); 961 ntohs(old_ipv6h->payload_len) +
|
H A D | ip_vs_sync.c | 610 m->size = htons(ntohs(m->size) + len); 714 m->size = htons(ntohs(m->size) + pad + len); 979 flags = ntohs(s->flags) | IP_VS_CONN_F_SYNC; 993 state = ntohs(s->state); 1150 state = ntohs(s->v4.state); 1216 if (buflen != ntohs(m2->size)) { 1243 size = ntohs(s->v4.ver_size) & SVER_MASK; 1250 if (ntohs(s->v4.ver_size) >> SVER_SHIFT) { 1252 ntohs(s->v4.ver_size) >> SVER_SHIFT); 1593 msize = ntohs(ms [all...] |
/linux-master/net/ipv4/netfilter/ |
H A D | nf_reject_ipv4.c | 27 len = ntohs(iph->tot_len); 100 if (pskb_trim_rcsum(oldskb, ntohs(ip_hdr(oldskb)->tot_len))) 302 if (dev_hard_header(nskb, nskb->dev, ntohs(nskb->protocol),
|
/linux-master/net/bridge/ |
H A D | br_netfilter_ipv6.c | 61 pkt_len = ntohs(hdr->payload_len);
|
/linux-master/drivers/net/slip/ |
H A D | slhc.c | 255 if (ip->protocol != IPPROTO_TCP || (ntohs(ip->frag_off) & 0x3fff)) { 370 deltaS = ntohs(th->urg_ptr); 380 if((deltaS = ntohs(th->window) - ntohs(oth->window)) != 0){ 406 ntohs(cs->cs_ip.tot_len) == hlen) 417 deltaS == ntohs(cs->cs_ip.tot_len) - hlen){ 424 if(deltaS == ntohs(cs->cs_ip.tot_len) - hlen){ 431 deltaS = ntohs(ip->id) - ntohs(cs->cs_ip.id); 553 i = ntohs(i [all...] |
/linux-master/drivers/net/ethernet/neterion/ |
H A D | s2io.c | 4055 queue = (ntohs(th->source) + 4056 ntohs(th->dest)) & 4062 queue = (ntohs(th->source) + 4063 ntohs(th->dest)) & 8216 return ntohs(ip->tot_len) - (ip->ihl << 2) - (tcp->doff << 2); 8230 lro->total_len = ntohs(ip->tot_len);
|
/linux-master/arch/mips/boot/ |
H A D | elf2ecoff.c | 318 if (ntohs(0xaa55) == 0xaa55) {
|
/linux-master/tools/testing/selftests/net/tcp_ao/ |
H A D | seq-ext.c | 110 saddr.sin6_port = htons(ntohs(saddr.sin6_port) + 1); 112 saddr.sin_port = htons(ntohs(saddr.sin_port) + 1); 198 client_new_port = ntohs(saddr.sin6_port) + 1; 199 saddr.sin6_port = htons(ntohs(saddr.sin6_port) + 1); 201 client_new_port = ntohs(saddr.sin_port) + 1; 202 saddr.sin_port = htons(ntohs(saddr.sin_port) + 1);
|
/linux-master/tools/testing/selftests/net/ |
H A D | gro.c | 145 BPF_JUMP(BPF_JMP + BPF_JEQ + BPF_K, ntohs(ethhdr_proto), 0, 9), 412 iph->tot_len = htons(ntohs(iph->tot_len) + extlen); 416 ip6h->payload_len = htons(ntohs(ip6h->payload_len) + extlen); 596 iph->tot_len = htons(ntohs(iph->tot_len) + optlen); 617 iph->payload_len = htons(ntohs(iph->payload_len) + MIN_EXTHDR_SIZE); 760 ip6h->payload_len = htons(ntohs(ip6h->payload_len) + extlen); 840 data_len = ntohs(iph->tot_len)
|
/linux-master/tools/testing/selftests/bpf/prog_tests/ |
H A D | xdp_metadata.c | 200 ntohs(udph->len), IPPROTO_UDP, 0);
|
H A D | cgrp_local_storage.c | 130 cookie_expected_value = (ntohs(addr.sin6_port) << 8) | 0xFF;
|
/linux-master/net/tipc/ |
H A D | link.c | 1432 sz = ntohs(p->len); 1599 end = ntohs(last_ga->gacks[si].ack); 1600 offset = ntohs(last_ga->gacks[si].gap); 1653 nacked = ntohs(gacks[n].ack); 1654 ngap = ntohs(gacks[n].gap);
|
/linux-master/net/rds/ |
H A D | tcp_listen.c | 155 my_addr, ntohs(inet->inet_sport), 156 peer_addr, ntohs(inet->inet_dport));
|
/linux-master/net/ncsi/ |
H A D | ncsi-rsp.c | 53 if (ntohs(h->common.length) != payload) { 60 if (ntohs(h->code) != NCSI_PKT_RSP_C_COMPLETED || 61 ntohs(h->reason) != NCSI_PKT_RSP_R_NO_ERROR) { 64 ntohs(h->code), ntohs(h->reason)); 389 ncf->vids[cmd->index - 1] = ntohs(cmd->vlan); 787 ncv->pci_ids[i] = ntohs(rsp->pci_ids[i]); 901 enable = ntohs(rsp->vlan_enable); 911 ncvf->vids[i] = ntohs(*(__be16 *)pdata); 1231 payload = ntohs(hd [all...] |
H A D | ncsi-netlink.c | 463 nca.payload = ntohs(hdr->length);
|
/linux-master/net/ipv6/ |
H A D | ping.c | 243 __u16 srcp = ntohs(inet->inet_sport); 244 __u16 destp = ntohs(inet->inet_dport);
|
Completed in 391 milliseconds
1234567891011>>