Home
last modified time | relevance | path

Searched refs:pdata_size (Results 1 – 3 of 3) sorted by relevance

/titanic_41/usr/src/uts/common/io/mac/plugins/
H A Dmac_ipv6.c228 mac_ipv6_pdata_verify(void *pdata, size_t pdata_size) in mac_ipv6_pdata_verify() argument
240 return (pdata_size == 0); in mac_ipv6_pdata_verify()
243 if (pdata_size < sizeof (ip6_t)) in mac_ipv6_pdata_verify()
246 if (pdata_size != sizeof (ip6_t) + ip6hp->ip6_plen) in mac_ipv6_pdata_verify()
257 endptr = (uint8_t *)pdata + pdata_size; in mac_ipv6_pdata_verify()
H A Dmac_ipv4.c209 mac_ipv4_pdata_verify(void *pdata, size_t pdata_size) in mac_ipv4_pdata_verify() argument
214 return (pdata_size == 0); in mac_ipv4_pdata_verify()
215 if (pdata_size < sizeof (struct ip)) in mac_ipv4_pdata_verify()
218 return (pdata_size == iphp->ip_hl * sizeof (uint32_t)); in mac_ipv4_pdata_verify()
H A Dmac_wifi.c127 mac_wifi_pdata_verify(void *pdata, size_t pdata_size) in mac_wifi_pdata_verify() argument
131 return (pdata_size == sizeof (wifi_data_t) && wdp->wd_opts == 0); in mac_wifi_pdata_verify()