Home
last modified time | relevance | path

Searched refs:thdr (Results 1 - 2 of 2) sorted by relevance

/device/soc/rockchip/common/vendor/drivers/net/ethernet/
H A Ddwmac-rk-tool.c325 struct tcphdr *thdr = NULL; in dwmac_rk_get_skb() local
367 thdr = (struct tcphdr *)skb_put(skb, sizeof(*thdr)); in dwmac_rk_get_skb()
381 if (!thdr) { in dwmac_rk_get_skb()
386 thdr->source = htons(attr->sport); in dwmac_rk_get_skb()
387 thdr->dest = htons(attr->dport); in dwmac_rk_get_skb()
388 thdr->doff = sizeof(struct tcphdr) / 0x04; in dwmac_rk_get_skb()
389 thdr->check = 0; in dwmac_rk_get_skb()
413 iplen += sizeof(*thdr); in dwmac_rk_get_skb()
441 if (!thdr) { in dwmac_rk_get_skb()
464 struct tcphdr *thdr; dwmac_rk_loopback_validate() local
[all...]
/device/soc/rockchip/rk3588/kernel/drivers/net/ethernet/stmicro/stmmac/
H A Ddwmac-rk-tool.c339 struct tcphdr *thdr = NULL; in dwmac_rk_get_skb() local
378 thdr = (struct tcphdr *)skb_put(skb, sizeof(*thdr)); in dwmac_rk_get_skb()
391 if (!thdr) { in dwmac_rk_get_skb()
396 thdr->source = htons(attr->sport); in dwmac_rk_get_skb()
397 thdr->dest = htons(attr->dport); in dwmac_rk_get_skb()
398 thdr->doff = sizeof(struct tcphdr) / 4; in dwmac_rk_get_skb()
399 thdr->check = 0; in dwmac_rk_get_skb()
422 iplen += sizeof(*thdr); in dwmac_rk_get_skb()
449 if (!thdr) { in dwmac_rk_get_skb()
475 struct tcphdr *thdr; dwmac_rk_loopback_validate() local
[all...]

Completed in 3 milliseconds