Searched defs:skb (Results 1 – 10 of 10) sorted by relevance
/ohos5.0/foundation/communication/netmanager_base/bpf/bpf_progs/ |
H A D | 464xlat.c | 21 static SEC("xlat/egress/ipv4/raw") int bpf_xlat_egress_ipv4_raw(struct __sk_buff *skb) { return 0; } in bpf_xlat_egress_ipv4_raw() 23 static SEC("xlat/ingress/ipv6/ether") int bpf_xlat_ingress_ipv6_ether(struct __sk_buff *skb) { retu… in bpf_xlat_ingress_ipv6_ether() 25 static SEC("xlat/ingress/ipv6/raw") int bpf_xlat_ingress_ipv6_raw(struct __sk_buff *skb) { return 0… in bpf_xlat_ingress_ipv6_raw()
|
H A D | netstats.c | 77 static SEC("cgroup_skb/uid/ingress") int bpf_cgroup_skb_uid_ingress(struct __sk_buff *skb) in bpf_cgroup_skb_uid_ingress() 98 static SEC("cgroup_skb/uid/egress") int bpf_cgroup_skb_uid_egress(struct __sk_buff *skb) in bpf_cgroup_skb_uid_egress() 119 static SEC("socket/iface/ingress") void bpf_socket_iface_ingress(struct __sk_buff *skb) in bpf_socket_iface_ingress() 139 static SEC("socket/iface/egress") void bpf_socket_iface_egress(struct __sk_buff *skb) in bpf_socket_iface_egress()
|
/ohos5.0/foundation/communication/netmanager_base/services/netmanagernative/bpf/include/netfirewall/ |
H A D | netfirewall_utils.h | 60 static __always_inline bool is_l4_protocol(struct __sk_buff *skb, __u32 l3_nhoff, __u8 protocol) in is_l4_protocol() 85 static __always_inline __u32 get_l3_nhoff(struct __sk_buff *skb) in get_l3_nhoff() 97 static __always_inline __u32 get_l4_nhoff(struct __sk_buff *skb) in get_l4_nhoff() 110 static __always_inline int load_tcp_flags(struct __sk_buff *skb, __u32 l4_nhoff, union tcp_flags *f… in load_tcp_flags() 123 static __always_inline bool load_l4_protocol(const struct __sk_buff *skb, __u32 l3_nhoff, __u8 *pro… in load_l4_protocol() 151 static __always_inline bool load_l3_v4_addrs(const struct __sk_buff *skb, __u32 l3_nhoff, __be32 *s… in load_l3_v4_addrs() 175 static __always_inline bool load_l3_v6_addrs(const struct __sk_buff *skb, __u32 l3_nhoff, struct in… in load_l3_v6_addrs() 201 static __always_inline bool load_icmp_info(const struct __sk_buff *skb, __u32 l4_nhoff, __u8 protoc… in load_icmp_info() 238 static __always_inline bool load_l4_ports(const struct __sk_buff *skb, __u32 l4_nhoff, __u8 protoco… in load_l4_ports() 271 static __always_inline bool load_l4_header_flags(const struct __sk_buff *skb, __u32 l4_nhoff, __u16… in load_l4_header_flags()
|
H A D | netfirewall.h | 33 static __always_inline int send_sock_tcp_reset(struct match_tuple *tuple, struct __sk_buff *skb, en… in send_sock_tcp_reset() 101 static __always_inline enum sk_action netfirewall_policy_ingress(struct __sk_buff *skb) in netfirewall_policy_ingress() 149 static __always_inline enum sk_action netfirewall_policy_egress(struct __sk_buff *skb) in netfirewall_policy_egress()
|
H A D | netfirewall_ct.h | 135 static __always_inline bool ct_create_entry(struct ct_tuple *tuple, struct __sk_buff *skb, const en… in ct_create_entry() 157 static __always_inline enum ct_status ct_lookup_entry(struct __sk_buff *skb, const struct ct_tuple … in ct_lookup_entry()
|
H A D | netfirewall_match.h | 86 static __always_inline bool get_match_tuple(struct __sk_buff *skb, struct match_tuple *tuple, enum … in get_match_tuple()
|
/ohos5.0/drivers/hdf_core/adapter/khdf/linux/model/usb/host/src/ |
H A D | usb_net_adapter.c | 143 static void UsbnetAdapterSkbReturn(struct UsbnetAdapter *usbNet, SkBuff *skb) in UsbnetAdapterSkbReturn() 179 static int RndisRxFixup(struct UsbnetAdapter *usbNet, SkBuff *skb) in RndisRxFixup() 229 static void UsbnetAdapterRxProcess(struct UsbnetAdapter *usbNet, SkBuff *skb) in UsbnetAdapterRxProcess() 270 SkBuff *skb = NULL; in UsbnetAdapterBh() local 338 static enum SkbState UsbnetAdapterDeferBh(struct UsbnetAdapter *usbNet, SkBuff *skb, in UsbnetAdapterDeferBh() 499 static SkBuff *RndisTxFixup(SkBuff *skb, gfp_t flags) in RndisTxFixup() 572 static netdev_tx_t UsbnetAdapterStartXmit(SkBuff *skb, NetDevice *net) in UsbnetAdapterStartXmit() 730 SkBuff *skb = NULL; in UsbnetAdapterResumeRx() local 869 uint32_t infoSize, unsigned char *buff, SkBuff *skb) in UsbnetAdapterSetSkb() 887 static void UsbnetAdapterSetUsbNetInfo(struct UsbnetAdapter *usbNet, SkBuff *skb, enum SkbState sta… in UsbnetAdapterSetUsbNetInfo() [all …]
|
/ohos5.0/drivers/hdf_core/adapter/khdf/linux/network/src/ |
H A D | net_device_adapter.c | 34 static int32_t NetDevXmitCheck(const struct sk_buff *skb, struct net_device *dev) in NetDevXmitCheck() 50 static netdev_tx_t NetDevXmit(struct sk_buff *skb, struct net_device *dev) in NetDevXmit() 290 static __be16 NetDevTypeTrans(struct NetDeviceImpl *impl, struct sk_buff *skb) in NetDevTypeTrans() 302 struct sk_buff *skb = NULL; in NetDevAllocBuf() local
|
/ohos5.0/foundation/communication/netmanager_base/services/netmanagernative/bpf/src/ |
H A D | netsys.c | 87 static inline __u32 get_data_len(struct __sk_buff *skb) in get_data_len() 103 int socket_iface_stats(struct __sk_buff *skb) in socket_iface_stats() 255 int bpf_cgroup_skb_uid_ingress(struct __sk_buff *skb) in bpf_cgroup_skb_uid_ingress() 346 int bpf_cgroup_skb_uid_egress(struct __sk_buff *skb) in bpf_cgroup_skb_uid_egress()
|
/ohos5.0/drivers/hdf_core/framework/model/network/common/netdevice/ |
H A D | net_device.c | 435 __be16 NetIfTypeTrans(struct NetDevice *netDevice, struct sk_buff *skb) in NetIfTypeTrans()
|