Home
last modified time | relevance | path

Searched defs:skb (Results 1 – 7 of 7) sorted by relevance

/foundation/communication/netmanager_base/services/netmanagernative/bpf/include/netfirewall/
Dnetfirewall_utils.h60 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()
Dnetfirewall.h33 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()
Dnetfirewall_ct.h135 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()
Dnetfirewall_match.h86 static __always_inline bool get_match_tuple(struct __sk_buff *skb, struct match_tuple *tuple, enum … in get_match_tuple()
/foundation/communication/netmanager_base/bpf/bpf_progs/
D464xlat.c21 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()
Dnetstats.c77 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()
/foundation/communication/netmanager_base/services/netmanagernative/bpf/src/
Dnetsys.c87 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()