게시판 즐겨찾기
편집
드래그 앤 드롭으로
즐겨찾기 아이콘 위치 수정이 가능합니다.
구조체안에 이런게 되나요??
게시물ID : programmer_4576짧은주소 복사하기
작성자 : 가래떡몬
추천 : 1
조회수 : 376회
댓글수 : 5개
등록시간 : 2014/07/18 10:36:18
옵션
  • 본인삭제금지
struct eth_device {
char name[NAMESIZE];
unsigned char enetaddr[6];
int iobase;
int state;

int  (*init) (struct eth_device*, bd_t*);
int  (*send) (struct eth_device*, volatile void* packet, int length);
int  (*recv) (struct eth_device*);
void (*halt) (struct eth_device*);
#ifdef CONFIG_MCAST_TFTP
int (*mcast) (struct eth_device*, u32 ip, u8 set);
#endif
int  (*write_hwaddr) (struct eth_device*);
struct eth_device *next;
void *priv;
};

뭐 이런 구조체 인데요 (UBOOT에 Eth.c안에 있는 정의 입니다)
구조체 안에

int (*init)(struct eth_deivce*, bd_t*);
뭐 이런것들이 있는데요 
이해가 안됩니다..

설명을 좀 부탁드려요 [본삭금]
전체 추천리스트 보기
새로운 댓글이 없습니다.
새로운 댓글 확인하기
글쓰기
◀뒤로가기
PC버전
맨위로▲
공지 운영 자료창고 청소년보호