Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\net\neighbour.h Create Date:2022-07-28 06:08:20
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:neigh_hh_output

Proto:static inline int neigh_hh_output(const struct hh_cache *hh, struct sk_buff *skb)

Type:int

Parameter:

TypeParameterName
const struct hh_cache *hh
struct sk_buff *skb
464  hh_alen = 0
468  Do
469  seq = Read side functions for starting and finalizing a read side section.
470  hh_len = READ_ONCE(hh_len)
483  Else
491  When read_seqretry( & hh_lock, seq) cycle
493  If WARN_ON_ONCE(skb_headroom - bytes at buffer head*@skb: buffer to check* Return the number of bytes of free space at the head of an &sk_buff. < hh_alen) Then
494  free an sk_buff
495  Return skb dropped
498  __skb_push(skb, hh_len)
499  Return transmit a buffer