Searched refs:packet (Results 1 – 6 of 6) sorted by relevance
| /net/ |
| A D | fastboot_udp.c | 50 uchar *packet; in fastboot_udp_send_response() local 61 packet_base = packet; in fastboot_udp_send_response() 68 packet += strlen(response); in fastboot_udp_send_response() 70 len = packet - packet_base; in fastboot_udp_send_response() 116 uchar *packet; in fastboot_send() local 132 packet_base = packet; in fastboot_send() 151 packet += sizeof(tmp); in fastboot_send() 156 packet += sizeof(tmp); in fastboot_send() 159 packet += sizeof(tmp); in fastboot_send() 218 len = packet - packet_base; in fastboot_send() [all …]
|
| A D | dsa-uclass.c | 134 static int dsa_port_send(struct udevice *pdev, void *packet, int length) in dsa_port_send() argument 151 memcpy(dsa_packet_tmp + head, packet, length); in dsa_port_send() 154 memcpy(packet, dsa_packet_tmp, length); in dsa_port_send() 157 err = ops->xmit(dev, port_pdata->index, packet, length); in dsa_port_send() 162 return eth_get_ops(master)->send(master, packet, length); in dsa_port_send() 203 static int dsa_port_free_pkt(struct udevice *pdev, uchar *packet, int length) in dsa_port_free_pkt() argument 212 packet -= priv->headroom; in dsa_port_free_pkt() 215 return eth_get_ops(master)->free_pkt(master, packet, length); in dsa_port_free_pkt()
|
| A D | eth-uclass.c | 414 int eth_send(void *packet, int length) in eth_send() argument 426 ret = eth_get_ops(current)->send(current, packet, length); in eth_send() 433 pcap_post(packet, length, true); in eth_send() 441 uchar *packet; in eth_rx() local 456 ret = eth_get_ops(current)->recv(current, flags, &packet); in eth_rx() 459 net_process_received_packet(packet, ret); in eth_rx() 461 eth_get_ops(current)->free_pkt(current, packet, ret); in eth_rx()
|
| A D | pcap.c | 100 int pcap_post(const void *packet, size_t len, bool outgoing) in pcap_post() argument 124 memcpy(buf + pos, packet, len); in pcap_post()
|
| A D | Kconfig | 129 is wrong then the packet is discarded and an error is shown, like 275 int "Number of receive packet buffers"
|
| /net/lwip/ |
| A D | net-lwip.c | 316 uchar *packet; in net_lwip_rx() local 331 len = eth_get_ops(udev)->recv(udev, flags, &packet); in net_lwip_rx() 339 packet, len, true); in net_lwip_rx() 342 pbuf = alloc_pbuf_and_copy(packet, len); in net_lwip_rx() 347 eth_get_ops(udev)->free_pkt(udev, packet, len); in net_lwip_rx()
|
Completed in 16 milliseconds