- Dec 14 Wed 2011 19:59
Control network interface using "ioctl" instead of "ifconfig"
- Dec 14 Wed 2011 10:05
The Network Traffic Path
The Internet Protocol (IP) is the heart of the Linux messaging system. While Linux (more or less) strictly adheres to the layering concept - and it is possible to use a different protocol (like ATM) - IP is almost always the nexus through which packets flow. The IP implementation of the network layer performs routing and forwarding as well as encapsulating data. See Figure 2.1 for a simplified diagram of how network packets move through the Linux kernel.
- Dec 07 Wed 2011 21:59
shell: awk command
Sited from Vbird
----------------------------------------------------
awk 則比較傾向於一行當中分成數個『欄位』來處理
awk '條件類型1{動作1} 條件類型2{動作2} ...' filename
- Dec 06 Tue 2011 19:31
static link & Dynamic Link & Load
- Dec 02 Fri 2011 12:19
Using GCC to create static and shared library .so
[轉貼]用GCC自製Library
- Dec 01 Thu 2011 13:59
Callback Function
- Nov 23 Tue 2010 11:26
Inter-Machine Communication(x86<->Cell<->PAC Duo)
- Sep 06 Mon 2010 14:55
Native C applications for Android
Native C applications for Android
The Android Java SDK is nice and all, but what if you want to run some C service or code? Well, it turns out that this isn't exactly difficult. You can compile an application using a standard Linux cross-compiler, install it and run your programs from the shell.
You will need a cross-compiler (make sure you get the ARM GNU/Linux target). Then you can just create your program, compile, and upload to the device:
- Sep 06 Mon 2010 11:47
Compile Android kernel from the source
Compile Android kernel from the source
I confirmed the following procedure only on my linux host (FC8). Sorry for Windows and Mac users.