"ifconfig [dev_name] up"

int interface_up(char * interface_name)

phchiu 發表在 痞客邦 PIXNET 留言(0) 人氣()

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.

 

phchiu 發表在 痞客邦 PIXNET 留言(0) 人氣()

Sited from Vbird
----------------------------------------------------
awk 則比較傾向於一行當中分成數個『欄位』來處理

awk '條件類型1{動作1} 條件類型2{動作2} ...' filename

phchiu 發表在 痞客邦 PIXNET 留言(0) 人氣()

Static link:

Compiler時,

phchiu 發表在 痞客邦 PIXNET 留言(0) 人氣()

[轉貼]用GCC自製Library

phchiu 發表在 痞客邦 PIXNET 留言(0) 人氣()

  • Dec 01 Thu 2011 22:23
  • MTK

MediaTek真的頗累  

或者說裡面的人還滿厲害的

phchiu 發表在 痞客邦 PIXNET 留言(0) 人氣()

What is callback?

簡單的說,如果你使用了某個function,那麼你就是『call』了一個function。

phchiu 發表在 痞客邦 PIXNET 留言(0) 人氣()

Support blocking Send/Recv

作法:

phchiu 發表在 痞客邦 PIXNET 留言(0) 人氣()

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:

phchiu 發表在 痞客邦 PIXNET 留言(0) 人氣()

Compile Android kernel from the source

I confirmed the following procedure only on my linux host (FC8). Sorry for Windows and Mac users.

phchiu 發表在 痞客邦 PIXNET 留言(0) 人氣()

1 23
找更多相關文章與討論