Home
last modified time | relevance | path

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

/foundation/communication/netmanager_base/bpf/bpf_progs/
H A 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() argument
23 static SEC("xlat/ingress/ipv6/ether") int bpf_xlat_ingress_ipv6_ether(struct __sk_buff *skb) { return 0; } in bpf_xlat_ingress_ipv6_ether() argument
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() argument
H A Dnetstats.c77 static SEC("cgroup_skb/uid/ingress") int bpf_cgroup_skb_uid_ingress(struct __sk_buff *skb) in bpf_cgroup_skb_uid_ingress() argument
98 static SEC("cgroup_skb/uid/egress") int bpf_cgroup_skb_uid_egress(struct __sk_buff *skb) in bpf_cgroup_skb_uid_egress() argument
119 static SEC("socket/iface/ingress") void bpf_socket_iface_ingress(struct __sk_buff *skb) in bpf_socket_iface_ingress() argument
139 static SEC("socket/iface/egress") void bpf_socket_iface_egress(struct __sk_buff *skb) in bpf_socket_iface_egress() argument
[all...]
/foundation/communication/netmanager_base/services/netmanagernative/bpf/include/netfirewall/
H A Dnetfirewall.h36 static __always_inline int send_sock_tcp_reset(struct match_tuple *tuple, struct __sk_buff *skb, enum stream_dir dir) in send_sock_tcp_reset() argument
104 static __always_inline enum sk_action netfirewall_policy_ingress(struct __sk_buff *skb) in netfirewall_policy_ingress() argument
163 netfirewall_policy_egress(struct __sk_buff *skb) netfirewall_policy_egress() argument
[all...]
H A Dnetfirewall_ct.h135 static __always_inline bool ct_create_entry(struct ct_tuple *tuple, struct __sk_buff *skb, const enum ct_dir dir) in ct_create_entry() argument
157 static __always_inline enum ct_status ct_lookup_entry(struct __sk_buff *skb, const struct ct_tuple *tuple, in ct_lookup_entry() argument
H A Dnetfirewall_match.h86 static __always_inline bool get_match_tuple(struct __sk_buff *skb, struct match_tuple *tuple, enum stream_dir dir) in get_match_tuple() argument
[all...]
H A Dnetfirewall_utils.h60 static __always_inline bool is_l4_protocol(struct __sk_buff *skb, __u32 l3_nhoff, __u8 protocol) in is_l4_protocol() argument
85 static __always_inline __u32 get_l3_nhoff(struct __sk_buff *skb) in get_l3_nhoff() argument
97 get_l4_nhoff(struct __sk_buff *skb) get_l4_nhoff() argument
110 load_tcp_flags(struct __sk_buff *skb, __u32 l4_nhoff, union tcp_flags *flags) load_tcp_flags() argument
123 load_l4_protocol(const struct __sk_buff *skb, __u32 l3_nhoff, __u8 *protocol) load_l4_protocol() argument
151 load_l3_v4_addrs(const struct __sk_buff *skb, __u32 l3_nhoff, __be32 *saddr, __be32 *daddr) load_l3_v4_addrs() argument
175 load_l3_v6_addrs(const struct __sk_buff *skb, __u32 l3_nhoff, struct in6_addr *saddr, struct in6_addr *daddr) load_l3_v6_addrs() argument
201 load_icmp_info(const struct __sk_buff *skb, __u32 l4_nhoff, __u8 protocol, __u8 *type, __u8 *code) load_icmp_info() argument
238 load_l4_ports(const struct __sk_buff *skb, __u32 l4_nhoff, __u8 protocol, __be16 *sport, __be16 *dport) load_l4_ports() argument
271 load_l4_header_flags(const struct __sk_buff *skb, __u32 l4_nhoff, __u16 *rst) load_l4_header_flags() argument
[all...]
/foundation/communication/netmanager_base/services/netmanagernative/bpf/src/
H A Dnetsys.c87 static inline __u32 get_data_len(struct __sk_buff *skb) in get_data_len() argument
103 int socket_iface_stats(struct __sk_buff *skb) in socket_iface_stats() argument
255 bpf_cgroup_skb_uid_ingress(struct __sk_buff *skb) bpf_cgroup_skb_uid_ingress() argument
345 bpf_cgroup_skb_uid_egress(struct __sk_buff *skb) bpf_cgroup_skb_uid_egress() argument
[all...]

Completed in 3 milliseconds