Home
last modified time | relevance | path

Searched refs:ip_data_len (Results 1 – 4 of 4) sorted by relevance

/external/qemu/slirp/
Dmain.h55 void if_encap(const uint8_t *ip_data, int ip_data_len);
Dslirp.c687 void if_encap(const uint8_t *ip_data, int ip_data_len) in if_encap() argument
692 if (ip_data_len + ETH_HLEN > sizeof(buf)) in if_encap()
732 memcpy(buf + sizeof(struct ethhdr), ip_data, ip_data_len); in if_encap()
733 slirp_output(buf, ip_data_len + ETH_HLEN); in if_encap()
/external/qemu/slirp-android/
Dmain.h59 void if_encap(const uint8_t *ip_data, int ip_data_len);
Dslirp.c780 void if_encap(const uint8_t *ip_data, int ip_data_len) in if_encap() argument
785 if (ip_data_len + ETH_HLEN > sizeof(buf)) in if_encap()
825 memcpy(buf + sizeof(struct ethhdr), ip_data, ip_data_len); in if_encap()
826 slirp_output(buf, ip_data_len + ETH_HLEN); in if_encap()