/ohos5.0/foundation/communication/ipc/ipc/native/src/mock/include/ |
H A D | sys_binder.h | 54 __u32 type; 58 __u32 flags; 71 __u32 fd; 77 __u32 flags; 89 __u32 pad; 118 __u32 handle; 174 __u32 code; 175 __u32 flags; 209 __u32 desc; 294 __u32 magic; [all …]
|
H A D | dbinder_base_invoker_define.h | 122 uint64_t seqNum, int cmd, __u32 code, __u32 flags); 125 … int32_t handle, int32_t socketId, uint64_t seqNum, int cmd, __u32 code, __u32 flags, int status);
|
H A D | dbinder_base_invoker_object.h | 248 size_t totalSize, uint64_t seqNum, int cmd, __u32 code, __u32 flags) in ConstructTransData()
|
H A D | dbinder_base_invoker_process.h | 209 …eParcel &data, int32_t handle, int32_t socketId, uint64_t seqNum, int cmd, __u32 code, __u32 flags, in ProcessNormalData()
|
/ohos5.0/foundation/communication/netmanager_base/services/netmanagernative/bpf/include/netfirewall/ |
H A D | netfirewall_types.h | 73 __u32 arg1; 74 __u32 arg2; 75 __u32 arg3; 76 __u32 arg4; 77 __u32 arg5; 82 __u32 family; 96 __u32 appuid; 101 __u32 family; 115 __u32 appuid; 116 __u32 uid; [all …]
|
H A D | netfirewall_event.h | 28 static __always_inline void output_to_user(enum event_type type, void *data, __u32 len) in output_to_user() 109 static __always_inline void log_dbg_any(enum debug_type type, __u32 arg1) in log_dbg_any() 119 static __always_inline void log_dbg(enum debug_type type, enum stream_dir dir, __u32 arg1) in log_dbg() 130 static __always_inline void log_dbg2(enum debug_type type, enum stream_dir dir, __u32 arg1, __u32 a… in log_dbg2() 142 …inline void log_dbg3(enum debug_type type, enum stream_dir dir, __u32 arg1, __u32 arg2, __u32 arg3) in log_dbg3() 155 …inline void log_dbg4(enum debug_type type, enum stream_dir dir, __u32 arg1, __u32 arg2, __u32 arg3, in log_dbg4() 156 __u32 arg4) in log_dbg4() 170 …inline void log_dbg5(enum debug_type type, enum stream_dir dir, __u32 arg1, __u32 arg2, __u32 arg3, in log_dbg5() 171 __u32 arg4, __u32 arg5) in log_dbg5()
|
H A D | netfirewall_utils.h | 49 __u32 value; 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() [all …]
|
H A D | netfirewall_match.h | 32 static __always_inline __u32 get_user_id(__u32 sock_uid) in get_user_id() 34 __u32 user_id = sock_uid / USER_ID_DIVIDOR; in get_user_id() 92 __u32 l3_nhoff = get_l3_nhoff(skb); in get_match_tuple() 93 __u32 l4_nhoff = get_l4_nhoff(skb); in get_match_tuple() 105 __u32 sock_uid = bpf_get_socket_uid(skb); in get_match_tuple() 168 log_dbg2(DBG_MATCH_SADDR, tuple->dir, (__u32)tuple->ipv4.saddr, result->val[0]); in match_addrs() 176 log_dbg2(DBG_MATCH_DADDR, tuple->dir, (__u32)tuple->ipv4.daddr, result->val[0]); in match_addrs() 223 log_dbg2(DBG_MATCH_SPORT, tuple->dir, (__u32)tuple->sport, result->val[0]); in match_ports() 229 log_dbg2(DBG_MATCH_DPORT, tuple->dir, (__u32)tuple->dport, result->val[0]); in match_ports() 254 log_dbg2(DBG_MATCH_PROTO, tuple->dir, (__u32)tuple->protocol, result->val[0]); in match_protocol()
|
H A D | netfirewall_ct_def.h | 48 __u32 family; 66 __u32 lifetime; 78 __u32 last_tx_report; 79 __u32 last_rx_report;
|
H A D | netfirewall_ct.h | 68 static __always_inline bool update_timeout_inner(struct ct_entry *entry, __u32 lifetime, enum ct_di… in update_timeout_inner() 71 __u32 now = bpf_ktime_get_ns() / NS_PER_SEC; in update_timeout_inner() 74 __u32 last_report; in update_timeout_inner() 112 __u32 timeout = NONTCP_CONN_TIMEOUT_SEC; in ct_update_timeout() 162 __u32 l3_nhoff = get_l3_nhoff(skb); in ct_lookup_entry() 166 __u32 l4_nhoff = get_l4_nhoff(skb); in ct_lookup_entry()
|
/ohos5.0/foundation/communication/ipc/ipc/native/c/ipc/src/linux/include/ |
H A D | sys_binder.h | 62 __u32 type; 66 __u32 type; 67 __u32 flags; 77 __u32 pad_flags; 80 __u32 fd; 87 __u32 flags; 100 __u32 pad; 160 __u32 code; 161 __u32 flags; 186 __u32 handle; [all …]
|
/ohos5.0/foundation/communication/netmanager_base/services/netmanagernative/bpf/include/ |
H A D | bpf_def.h | 43 __u32 key_size; 44 __u32 value_size; 45 __u32 max_entries; 46 __u32 map_flags; 47 __u32 inner_map_idx; 48 __u32 numa_node; 52 __u32 uId; 53 __u32 ifIndex; 54 __u32 ifType; 73 __u32 netIfIndex; [all …]
|
/ohos5.0/foundation/resourceschedule/ffrt/src/eu/ |
H A D | wgcm.h | 33 __u32 gid; 36 __u32 server_tid; 45 __u32 min_concur_workers; 46 __u32 max_workers_sum; 49 __u32 workers_sum; 52 __u32 blk_workers_sum; 55 __u32 woken_flag; 57 __u32 reserved;
|
/ohos5.0/commonlibrary/c_utils/base/include/ |
H A D | flat_obj.h | 32 typedef u_int32_t __u32; typedef 37 typedef __u32 binder_size_t; 38 typedef __u32 binder_uintptr_t; 45 __u32 type; 49 __u32 flags; 52 __u32 handle;
|
/ohos5.0/base/startup/appspawn/standard/ |
H A D | nwebspawn_launcher.c | 70 capData[0].inheritable = (__u32)(inheriTable); in NWebSpawnInit() 71 capData[1].inheritable = (__u32)(inheriTable >> BITLEN32); in NWebSpawnInit() 72 capData[0].permitted = (__u32)(permitted); in NWebSpawnInit() 73 capData[1].permitted = (__u32)(permitted >> BITLEN32); in NWebSpawnInit() 74 capData[0].effective = (__u32)(effective); in NWebSpawnInit() 75 capData[1].effective = (__u32)(effective >> BITLEN32); in NWebSpawnInit()
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/platform/utils/ |
H A D | flat_obj.h | 56 typedef __u32 binder_size_t; 57 typedef __u32 binder_uintptr_t; 64 __u32 type; 68 __u32 flags; 71 __u32 handle;
|
/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() 89 __u32 length = skb->len; in get_data_len() 235 static inline __u32 filter_sim_stats(__u32 ipv4) in filter_sim_stats() 243 static inline __u32 get_iface_type(__u32 ipv4) in get_iface_type() 468 __u32 uid = (__u32)(uid_gid & 0x00000000FFFFFFFF); in inet_create_socket() 528 __u32 uid = (__u32)(uid_gid & 0x00000000FFFFFFFF); in inet_check_bind4() 574 __u32 uid = (__u32)(uid_gid & 0x00000000FFFFFFFF); in inet_check_bind6() 620 __u32 uid = (__u32)(uid_gid & 0x00000000FFFFFFFF); in inet_check_connect4() 667 __u32 uid = (__u32)(uid_gid & 0x00000000FFFFFFFF); in inet_check_connect6() 713 __u32 uid = (__u32)(uid_gid & 0x00000000FFFFFFFF); in inet_check_sendmsg4() [all …]
|
/ohos5.0/base/startup/appspawn/modules/common/ |
H A D | appspawn_common.c | 140 capData[0].inheritable = (__u32)(inheriTable); in SetCapabilities() 141 capData[1].inheritable = (__u32)(inheriTable >> BITLEN32); in SetCapabilities() 142 capData[0].permitted = (__u32)(permitted); in SetCapabilities() 143 capData[1].permitted = (__u32)(permitted >> BITLEN32); in SetCapabilities() 144 capData[0].effective = (__u32)(effective); in SetCapabilities() 145 capData[1].effective = (__u32)(effective >> BITLEN32); in SetCapabilities()
|
/ohos5.0/foundation/communication/netmanager_base/services/netmanagernative/src/netsys/ |
H A D | clat_utils.cpp | 347 …BPF_STMT(BPF_LD | BPF_W | BPF_ABS, static_cast<__u32>(SKF_NET_OFF) + offsetof(ipv6hdr, daddr.s6_ad… in AddFilterAndBindPacketSocket() 350 …BPF_STMT(BPF_LD | BPF_W | BPF_ABS, static_cast<__u32>(SKF_NET_OFF) + offsetof(ipv6hdr, daddr.s6_ad… in AddFilterAndBindPacketSocket() 353 …BPF_STMT(BPF_LD | BPF_W | BPF_ABS, static_cast<__u32>(SKF_NET_OFF) + offsetof(ipv6hdr, daddr.s6_ad… in AddFilterAndBindPacketSocket() 356 …BPF_STMT(BPF_LD | BPF_W | BPF_ABS, static_cast<__u32>(SKF_NET_OFF) + offsetof(ipv6hdr, daddr.s6_ad… in AddFilterAndBindPacketSocket()
|
/ohos5.0/docs/zh-cn/device-dev/porting/ |
H A D | porting-yangfan-on_standard-demo.md | 1520 __u32 index; 1521 __u32 type; 1522 __u32 bytesused; 1523 __u32 flags; 1524 __u32 field; 1527 __u32 sequence; 1530 __u32 memory; 1532 __u32 offset; 1537 __u32 length; 1538 __u32 reserved2; [all …]
|
H A D | porting-dayu200-on_standard-demo.md | 1764 __u32 index; 1765 __u32 type; 1766 __u32 bytesused; 1767 __u32 flags; 1768 __u32 field; 1771 __u32 sequence; 1782 __u32 type; 1797 __u32 index; 1798 __u32 type; 1800 __u32 flags; [all …]
|
/ohos5.0/drivers/peripheral/usb/sample/host/include/ |
H A D | usbhost_nosdk_speed.h | 40 #define USBDEVFS_GET_CAPABILITIES _IOR('U', 26, __u32)
|
/ohos5.0/docs/en/device-dev/porting/ |
H A D | porting-yangfan-on_standard-demo.md | 1518 __u32 index; 1519 __u32 type; 1520 __u32 bytesused; 1521 __u32 flags; 1522 __u32 field; 1525 __u32 sequence; 1528 __u32 memory; 1530 __u32 offset; 1535 __u32 length; 1536 __u32 reserved2; [all …]
|
H A D | porting-dayu200-on_standard-demo.md | 1777 __u32 index; 1778 __u32 type; 1779 __u32 bytesused; 1780 __u32 flags; 1781 __u32 field; 1784 __u32 sequence; 1795 __u32 type; 1810 __u32 index; 1811 __u32 type; 1813 __u32 flags; [all …]
|
/ohos5.0/foundation/communication/dsoftbus/components/nstackx/nstackx_congestion/platform/unix/qdisc/ |
H A D | nstackx_nlmsg.c | 106 while (NLMSG_OK(h, (__u32)msglen)) { in ParseNetlinkMsg()
|