summaryrefslogblamecommitdiff
path: root/bpf/usage/bpf_bpfel.o
blob: 3526a6813c5abd41fbeee33b9285e82e8bc29361 (plain) (tree)
1
2
3
4
5




                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               
ELF�x@@
aPaL�$-4'a��U$a����{j��q!
gq#O1q#	gO1q#gO1q#g O1q"g(O!{���������U	���������������`��aPaL�$-4'a��U$a����{j��q!gq#O1q#gO1q#gO1q#g O1q"g(O!{���������U	���������������`��GPL��TT� 	 	@ 27@C�G�M
 27@C�G�cx"��� �@�`���������� �@�`��� �@	`���&�1; F�P \@g`�q�x� @�������� �#�$��
��
�C��� 
 � ��int__ARRAY_SIZE_TYPE____u64unsigned long longtypemax_entrieskeyvalueingress_ip4_usage_mapegress_ip4_usage_map__sk_bufflenpkt_typemarkqueue_mappingprotocolvlan_presentvlan_tcivlan_protopriorityingress_ifindexifindextc_indexcbhashtc_classiddatadata_endnapi_idfamilyremote_ip4local_ip4remote_ip6local_ip6remote_portlocal_portdata_metatstampwire_lengso_segsgso_sizetstamp_typehwtstamp__u32unsigned intflow_keyssk__u8unsigned charskbingress_functc./bpf.c	void *data_end = (void *)(long)skb->data_end;	struct ethhdr *eth = (void *)(long)skb->data;	if ((void *) (eth + 1) > data_end)	if (skb->protocol != bpf_htons(ETH_P_IP) &&	len = skb->len - sizeof(struct ethhdr);	ret.bytes[1] = bytes[4];}	ret.bytes[0] = bytes[5];	ret.bytes[2] = bytes[3];	ret.bytes[3] = bytes[2];	ret.bytes[4] = bytes[1];	ret.bytes[5] = bytes[0];	usage = bpf_map_lookup_elem(map, &mac);	if (!usage) {		bpf_map_update_elem(map, &mac, &len, BPF_ANY);		__sync_fetch_and_add(usage, len);	return update_usage(&ingress_ip4_usage_map, skb, UPDATE_USAGE_INGRESS);egress__func	return update_usage(&egress_ip4_usage_map, skb, UPDATE_USAGE_EGRESS);char__license.mapslicensebpf_flow_keysbpf_sock�� ���p�8��&��&*�U �U(�y0�y+@��
(H��(P��(X���`���h���p���x���������������9�������S����������
(��m
D��H��PX��X`��|p��&�x�&*��U��U��y��y+���
(���(���(�����������������������������9� ���0�S�8���H�X��
(`�m
Dx��H���P���X��P��`�@�X������dp qpp0  S�	0	`�(	4L,4HXhx��������(8HXhx��������(8HXhx��������(8HXhx����.text.rel.BTF.ext.mapsingress_ip4_usage_mapegress_ip4_usage_map.llvm_addrsig__license.reltcingress_funcegress__func.strtab.symtab.rel.BTFLBB1_6LBB0_6LBB1_5LBB0_5LBB1_3LBB0_3~��@a@�]	@�@U (@�h7	�	@�0��	@�	EL�o���h8