Lines Matching defs:hip
46 struct hippi_hdr *hip = skb_push(skb, HIPPI_HLEN);
58 hip->fp.fixed = htonl(0x04800018);
59 hip->fp.d2_size = htonl(len + 8);
60 hip->le.fc = 0;
61 hip->le.double_wide = 0; /* only HIPPI 800 for the time being */
62 hip->le.message_type = 0; /* Data PDU */
64 hip->le.dest_addr_type = 2; /* 12 bit SC address */
65 hip->le.src_addr_type = 2; /* 12 bit SC address */
67 memcpy(hip->le.src_switch_addr, dev->dev_addr + 3, 3);
68 memset(&hip->le.reserved, 0, 16);
70 hip->snap.dsap = HIPPI_EXTENDED_SAP;
71 hip->snap.ssap = HIPPI_EXTENDED_SAP;
72 hip->snap.ctrl = HIPPI_UI_CMD;
73 hip->snap.oui[0] = 0x00;
74 hip->snap.oui[1] = 0x00;
75 hip->snap.oui[2] = 0x00;
76 hip->snap.ethertype = htons(type);
80 memcpy(hip->le.dest_switch_addr, daddr + 3, 3);
95 struct hippi_hdr *hip;
103 hip = (struct hippi_hdr *)skb_mac_header(skb);
110 return hip->snap.ethertype;
189 return alloc_netdev(sizeof_priv, "hip%d", NET_NAME_UNKNOWN,