Lines Matching defs:header
1098 struct ipoib_header *header;
1103 header = (struct ipoib_header *) skb->data;
1107 if ((header->proto != htons(ETH_P_IP)) &&
1108 (header->proto != htons(ETH_P_IPV6)) &&
1109 (header->proto != htons(ETH_P_ARP)) &&
1110 (header->proto != htons(ETH_P_RARP)) &&
1111 (header->proto != htons(ETH_P_TIPC))) {
1129 switch (header->proto) {
1204 struct ipoib_header *header;
1206 header = skb_push(skb, sizeof(*header));
1208 header->proto = htons(type);
1209 header->reserved = 0;
1213 * destination address into skb hard header so we can figure out where