Searched refs:hh (Results 1 - 25 of 34) sorted by last modified time

12

/linux-master/net/bridge/
H A Dbr_netfilter_hooks.c285 READ_ONCE(neigh->hh.hh_len)) {
294 neigh_hh_bridge(&neigh->hh, skb);
/linux-master/include/linux/
H A Dnetdevice.h310 int (*cache)(const struct neighbour *neigh, struct hh_cache *hh, __be16 type);
311 void (*cache_update)(struct hh_cache *hh,
H A Detherdevice.h46 int eth_header_cache(const struct neighbour *neigh, struct hh_cache *hh,
48 void eth_header_cache_update(struct hh_cache *hh, const struct net_device *dev,
H A DmISDNif.h551 struct mISDNhead *hh; local
557 hh = mISDN_HEAD_P(skb);
558 hh->prim = prim;
559 hh->id = id;
/linux-master/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_ras_eeprom.c387 u8 *hh; local
393 hh = (void *) &hdr->header;
394 csum -= (hh[0] + hh[1] + hh[2] + hh[3]);
395 hh = (void *) &header;
396 csum += hh[0] + hh[1] + hh[
[all...]
/linux-master/drivers/net/
H A Dmacsec.c589 struct macsec_eth_header *hh; local
635 hh = skb_push(skb, macsec_extra_len(sci_present));
636 memmove(hh, eth, 2 * ETH_ALEN);
644 macsec_fill_sectag(hh, secy, pn.lower, sci_present);
645 macsec_set_shortlen(hh, unprotected_len - 2 * ETH_ALEN);
/linux-master/drivers/net/plip/
H A Dplip.c151 struct hh_cache *hh, __be16 type);
1044 struct hh_cache *hh, __be16 type)
1048 ret = eth_header_cache(neigh, hh, type);
1052 eth = (struct ethhdr*)(((u8*)hh->hh_data) +
1043 plip_hard_header_cache(const struct neighbour *neigh, struct hh_cache *hh, __be16 type) argument
/linux-master/net/core/
H A Dpktgen.c392 __u8 hh[14]; member in struct:pktgen_dev
401 __u16 pad; /* pad out the hh struct to an even 16 bytes */
1561 ether_addr_copy(&pkt_dev->hh[0], pkt_dev->dst_mac);
1578 ether_addr_copy(&pkt_dev->hh[6], pkt_dev->src_mac);
2183 ether_addr_copy(&(pkt_dev->hh[6]), pkt_dev->odev->dev_addr);
2186 ether_addr_copy(&(pkt_dev->hh[0]), pkt_dev->dst_mac);
2443 pkt_dev->hh[11] = tmp;
2445 pkt_dev->hh[10] = tmp;
2447 pkt_dev->hh[9] = tmp;
2449 pkt_dev->hh[
[all...]
H A Dneighbour.c505 seqlock_init(&n->hh.hh_lock);
1261 struct hh_cache *hh; local
1269 hh = &neigh->hh;
1270 if (READ_ONCE(hh->hh_len)) {
1271 write_seqlock_bh(&hh->hh_lock);
1272 update(hh, neigh->dev, neigh->ha);
1273 write_sequnlock_bh(&hh->hh_lock);
1528 struct hh_cache *hh = &n->hh; local
[all...]
/linux-master/include/net/
H A Dneighbour.h157 struct hh_cache hh; member in struct:neighbour
476 static inline int neigh_hh_bridge(struct hh_cache *hh, struct sk_buff *skb) argument
481 seq = read_seqbegin(&hh->hh_lock);
483 memcpy(skb->data - hh_alen, hh->hh_data, ETH_ALEN + hh_alen - ETH_HLEN);
484 } while (read_seqretry(&hh->hh_lock, seq));
489 static inline int neigh_hh_output(const struct hh_cache *hh, struct sk_buff *skb) argument
496 seq = read_seqbegin(&hh->hh_lock);
497 hh_len = READ_ONCE(hh->hh_len);
507 memcpy(skb->data - HH_DATA_MOD, hh->hh_data,
514 memcpy(skb->data - hh_alen, hh
532 const struct hh_cache *hh = &n->hh; local
[all...]
/linux-master/drivers/rapidio/
H A Drio_cm.c382 struct rio_ch_chan_hdr *hh = req_data; local
385 chnum = ntohs(hh->dst_ch);
404 req->destid = ntohl(hh->bhdr.src_id);
405 req->chan = ntohs(hh->src_ch);
428 struct rio_ch_chan_hdr *hh = resp_data; local
431 chnum = ntohs(hh->dst_ch);
442 ch->rem_channel = ntohs(hh->src_ch);
460 struct rio_ch_chan_hdr *hh = data; local
463 riocm_debug(RX_CMD, "for ch=%d", ntohs(hh->dst_ch));
466 ch = idr_find(&ch_idr, ntohs(hh
[all...]
/linux-master/drivers/video/fbdev/
H A Dcg3.c259 int ww, hh; local
265 hh = simple_strtoul(p + 1, &p, 10);
266 if (hh && *p == '-') {
268 var->yres != hh) {
270 var->yres = var->yres_virtual = hh;
/linux-master/block/partitions/
H A Dibm.c37 cyl = ptr->hh & 0xFFF0;
40 head = ptr->hh & 0x000F;
55 cyl = ptr->hh & 0xFFF0;
58 head = ptr->hh & 0x000F;
/linux-master/drivers/isdn/hardware/mISDN/
H A Dhfcsusb.c201 struct mISDNhead *hh = mISDN_HEAD_P(skb); local
207 switch (hh->prim) {
278 struct mISDNhead *hh = mISDN_HEAD_P(skb); local
283 switch (hh->prim) {
294 queue_ch_frame(ch, PH_DATA_CNF, hh->id, NULL);
318 ret = l1_event(dch->l1, hh->prim);
353 ret = l1_event(dch->l1, hh->prim);
H A Dhfcpci.c1579 struct mISDNhead *hh = mISDN_HEAD_P(skb); local
1583 switch (hh->prim) {
1588 id = hh->id; /* skb can be freed */
1613 ret = l1_event(dch->l1, hh->prim);
1648 ret = l1_event(dch->l1, hh->prim);
1667 struct mISDNhead *hh = mISDN_HEAD_P(skb); local
1670 switch (hh->prim) {
H A Dnetjet.c743 struct mISDNhead *hh = mISDN_HEAD_P(skb); local
746 switch (hh->prim) {
H A Dhfcmulti.c1805 struct mISDNhead *hh; local
1881 hh = mISDN_HEAD_P(skb);
1882 hh->prim = PH_CONTROL_IND;
1883 hh->id = DTMF_HFC_COEF;
3300 struct mISDNhead *hh = mISDN_HEAD_P(skb); local
3305 switch (hh->prim) {
3312 id = hh->id; /* skb can be freed */
3354 ret = l1_event(dch->l1, hh->prim);
3404 ret = l1_event(dch->l1, hh->prim);
3433 struct mISDNhead *hh local
[all...]
H A DmISDNisar.c1471 struct mISDNhead *hh = mISDN_HEAD_P(skb); local
1475 switch (hh->prim) {
1508 hh->id, *val);
1509 if ((hh->id == 0) && ((*val & ~DTMF_TONE_MASK) ==
1529 } else if ((hh->id == HW_MOD_FRM) || (hh->id == HW_MOD_FRH) ||
1530 (hh->id == HW_MOD_FTM) || (hh->id == HW_MOD_FTH)) {
1537 isar_pump_cmd(ich, hh->id, *val);
1544 } else if (hh
[all...]
/linux-master/arch/xtensa/lib/
H A Dumulsidi3.S91 #define umul_aa_hh umul.aa.hh
/linux-master/drivers/isdn/mISDN/
H A Ddsp_core.c281 dsp_control_req(struct dsp *dsp, struct mISDNhead *hh, struct sk_buff *skb) argument
667 struct mISDNhead *hh; local
672 hh = mISDN_HEAD_P(skb);
673 switch (hh->prim) {
706 hh->prim = DL_DATA_IND;
720 skb->len, hh->id);
765 hh->prim = DL_DATA_IND;
773 hh->id, skb->len, dsp->name);
774 switch (hh->id) {
825 "%s\n", __func__, hh
1008 struct mISDNhead *hh; local
[all...]
H A Ddsp_cmx.c1175 struct mISDNhead *hh = mISDN_HEAD_P(skb); local
1198 dsp->rx_R = (hh->id & CMX_BUFF_MASK);
1215 dsp->rx_W = (hh->id & CMX_BUFF_MASK);
1216 /* printk(KERN_DEBUG "%s %08x\n", dsp->name, hh->id); */
1230 dsp->rx_R = (hh->id & CMX_BUFF_MASK);
1258 dsp->rx_R = (hh->id & CMX_BUFF_MASK);
1307 struct mISDNhead *hh, *thh; local
1350 hh = mISDN_HEAD_P(nskb);
1351 hh->prim = PH_DATA_REQ;
1352 hh
1909 struct mISDNhead *hh; local
[all...]
H A Dl1oip_core.c871 struct mISDNhead *hh = mISDN_HEAD_P(skb); local
876 switch (hh->prim) {
903 queue_ch_frame(ch, PH_DATA_CNF, hh->id, skb);
911 queue_ch_frame(ch, PH_ACTIVATE_IND, hh->id, skb);
913 queue_ch_frame(ch, PH_DEACTIVATE_IND, hh->id, skb);
922 queue_ch_frame(ch, PH_ACTIVATE_IND, hh->id, skb);
924 queue_ch_frame(ch, PH_DEACTIVATE_IND, hh->id, skb);
1091 struct mISDNhead *hh = mISDN_HEAD_P(skb); local
1095 switch (hh->prim) {
1115 queue_ch_frame(ch, PH_DATA_CNF, hh
[all...]
/linux-master/drivers/firewire/
H A Dnet.c233 struct hh_cache *hh, __be16 type)
241 h = (struct fwnet_header *)((u8 *)hh->hh_data + HH_DATA_OFF(sizeof(*h)));
248 smp_store_release(&hh->hh_len, FWNET_HLEN);
254 static void fwnet_header_cache_update(struct hh_cache *hh, argument
257 memcpy((u8 *)hh->hh_data + HH_DATA_OFF(FWNET_HLEN), haddr, net->addr_len);
232 fwnet_header_cache(const struct neighbour *neigh, struct hh_cache *hh, __be16 type) argument
/linux-master/drivers/net/usb/
H A Dsierra_net.c263 static int parse_hip(const u8 *buf, const u32 buflen, struct hip_hdr *hh) argument
271 curp = save16bit(&hh->payload_len, curp);
272 curp = save8bit(&hh->msgid, curp);
273 curp = save8bit(&hh->msgspecific, curp);
275 padded = hh->msgid.byte & 0x80;
276 hh->msgid.byte &= 0x7F; /* 7 bits */
278 hh->extmsgid.is_present = (hh->msgid.byte == SIERRA_NET_HIP_EXTENDEDID);
279 if (hh->extmsgid.is_present) {
283 hh
412 sierra_net_handle_lsi(struct usbnet *dev, char *data, struct hip_hdr *hh) argument
491 struct hip_hdr hh; local
805 struct hip_hdr hh; local
[all...]
/linux-master/net/ethernet/
H A Deth.c214 * @hh: destination cache entry
219 int eth_header_cache(const struct neighbour *neigh, struct hh_cache *hh, __be16 type)
225 (((u8 *) hh->hh_data) + (HH_DATA_OFF(sizeof(*eth))));
237 smp_store_release(&hh->hh_len, ETH_HLEN);
245 * @hh: destination cache entry
251 void eth_header_cache_update(struct hh_cache *hh,
255 memcpy(((u8 *) hh->hh_data) + HH_DATA_OFF(sizeof(struct ethhdr)),
229 eth_header_cache(const struct neighbour *neigh, struct hh_cache *hh, __be16 type) argument
261 eth_header_cache_update(struct hh_cache *hh, const struct net_device *dev, const unsigned char *haddr) argument

Completed in 347 milliseconds

12