Lines Matching refs:eah
103 struct elapaarp *eah; in __aarp_send_query() local
104 int len = dev->hard_header_len + sizeof(*eah) + aarp_dl->header_length; in __aarp_send_query()
120 skb_put(skb, sizeof(*eah)); in __aarp_send_query()
123 eah = aarp_hdr(skb); in __aarp_send_query()
126 eah->hw_type = htons(AARP_HW_TYPE_ETHERNET); in __aarp_send_query()
127 eah->pa_type = htons(ETH_P_ATALK); in __aarp_send_query()
128 eah->hw_len = ETH_ALEN; in __aarp_send_query()
129 eah->pa_len = AARP_PA_ALEN; in __aarp_send_query()
130 eah->function = htons(AARP_REQUEST); in __aarp_send_query()
132 ether_addr_copy(eah->hw_src, dev->dev_addr); in __aarp_send_query()
134 eah->pa_src_zero = 0; in __aarp_send_query()
135 eah->pa_src_net = sat->s_net; in __aarp_send_query()
136 eah->pa_src_node = sat->s_node; in __aarp_send_query()
138 eth_zero_addr(eah->hw_dst); in __aarp_send_query()
140 eah->pa_dst_zero = 0; in __aarp_send_query()
141 eah->pa_dst_net = a->target_addr.s_net; in __aarp_send_query()
142 eah->pa_dst_node = a->target_addr.s_node; in __aarp_send_query()
156 struct elapaarp *eah; in aarp_send_reply() local
157 int len = dev->hard_header_len + sizeof(*eah) + aarp_dl->header_length; in aarp_send_reply()
167 skb_put(skb, sizeof(*eah)); in aarp_send_reply()
170 eah = aarp_hdr(skb); in aarp_send_reply()
173 eah->hw_type = htons(AARP_HW_TYPE_ETHERNET); in aarp_send_reply()
174 eah->pa_type = htons(ETH_P_ATALK); in aarp_send_reply()
175 eah->hw_len = ETH_ALEN; in aarp_send_reply()
176 eah->pa_len = AARP_PA_ALEN; in aarp_send_reply()
177 eah->function = htons(AARP_REPLY); in aarp_send_reply()
179 ether_addr_copy(eah->hw_src, dev->dev_addr); in aarp_send_reply()
181 eah->pa_src_zero = 0; in aarp_send_reply()
182 eah->pa_src_net = us->s_net; in aarp_send_reply()
183 eah->pa_src_node = us->s_node; in aarp_send_reply()
186 eth_zero_addr(eah->hw_dst); in aarp_send_reply()
188 ether_addr_copy(eah->hw_dst, sha); in aarp_send_reply()
190 eah->pa_dst_zero = 0; in aarp_send_reply()
191 eah->pa_dst_net = them->s_net; in aarp_send_reply()
192 eah->pa_dst_node = them->s_node; in aarp_send_reply()
205 struct elapaarp *eah; in aarp_send_probe() local
206 int len = dev->hard_header_len + sizeof(*eah) + aarp_dl->header_length; in aarp_send_probe()
218 skb_put(skb, sizeof(*eah)); in aarp_send_probe()
221 eah = aarp_hdr(skb); in aarp_send_probe()
224 eah->hw_type = htons(AARP_HW_TYPE_ETHERNET); in aarp_send_probe()
225 eah->pa_type = htons(ETH_P_ATALK); in aarp_send_probe()
226 eah->hw_len = ETH_ALEN; in aarp_send_probe()
227 eah->pa_len = AARP_PA_ALEN; in aarp_send_probe()
228 eah->function = htons(AARP_PROBE); in aarp_send_probe()
230 ether_addr_copy(eah->hw_src, dev->dev_addr); in aarp_send_probe()
232 eah->pa_src_zero = 0; in aarp_send_probe()
233 eah->pa_src_net = us->s_net; in aarp_send_probe()
234 eah->pa_src_node = us->s_node; in aarp_send_probe()
236 eth_zero_addr(eah->hw_dst); in aarp_send_probe()
238 eah->pa_dst_zero = 0; in aarp_send_probe()
239 eah->pa_dst_net = us->s_net; in aarp_send_probe()
240 eah->pa_dst_node = us->s_node; in aarp_send_probe()